Edit

Share via


ISKPhysicsContactDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol SKPhysicsContactDelegate.

[Foundation.Protocol(Name="SKPhysicsContactDelegate", WrapperType=typeof(SpriteKit.SKPhysicsContactDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISKPhysicsContactDelegate : IDisposable, ObjCRuntime.INativeObject
type ISKPhysicsContactDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by SKPhysicsContactDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the SKPhysicsContactDelegate protocol.

Optional methods (if any) are provided by the SKPhysicsContactDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidBeginContact(ISKPhysicsContactDelegate, SKPhysicsContact)

Method that is called when contact is started.

DidEndContact(ISKPhysicsContactDelegate, SKPhysicsContact)

Method that is called after contact ends.

Applies to