Bearbeiten

Freigeben über


SCNPhysicsContactDelegate_Extensions Class

Definition

Extension methods to the ISCNPhysicsContactDelegate interface to support all the methods from the SCNPhysicsContactDelegate protocol.

public static class SCNPhysicsContactDelegate_Extensions
type SCNPhysicsContactDelegate_Extensions = class
Inheritance
SCNPhysicsContactDelegate_Extensions

Remarks

The extension methods for ISCNPhysicsContactDelegate allow developers to treat instances of the interface as having all the optional methods of the original SCNPhysicsContactDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidBeginContact(ISCNPhysicsContactDelegate, SCNPhysicsWorld, SCNPhysicsContact)
DidEndContact(ISCNPhysicsContactDelegate, SCNPhysicsWorld, SCNPhysicsContact)
DidUpdateContact(ISCNPhysicsContactDelegate, SCNPhysicsWorld, SCNPhysicsContact)

Applies to