Share via


ISKSceneDelegate Interface

Definition

Delegate object for SKScene objects. Provides methods relating to animation events.

[Foundation.Protocol(Name="SKSceneDelegate", WrapperType=typeof(SpriteKit.SKSceneDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Double), typeof(SpriteKit.SKScene) }, Selector="update:forScene:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEvaluateActions", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didEvaluateActionsForScene:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSimulatePhysics", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didSimulatePhysicsForScene:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidApplyConstraints", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didApplyConstraintsForScene:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didFinishUpdateForScene:")]
public interface ISKSceneDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="SKSceneDelegate", WrapperType=typeof(SpriteKit.SKSceneDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Double), typeof(SpriteKit.SKScene) }, Selector="update:forScene:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEvaluateActions", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didEvaluateActionsForScene:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSimulatePhysics", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didSimulatePhysicsForScene:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidApplyConstraints", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didApplyConstraintsForScene:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFinishUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SpriteKit.SKScene) }, Selector="didFinishUpdateForScene:")>]
type ISKSceneDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidApplyConstraints(SKScene)

Method that is called after constraints are applied to scene.

DidEvaluateActions(SKScene)

Method that is called after all scene actions are evaluated for scene.

DidFinishUpdate(SKScene)

Method that is called after the scene is updated.

DidSimulatePhysics(SKScene)

Method that is called after physics simulation for scene is complete.

Update(Double, SKScene)

Method that is called once per frame, if scene is presented and not paused, before any animation takes place.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidApplyConstraints(ISKSceneDelegate, SKScene)

Method that is called after constraints are applied to scene.

DidEvaluateActions(ISKSceneDelegate, SKScene)

Method that is called after all scene actions are evaluated for scene.

DidFinishUpdate(ISKSceneDelegate, SKScene)

Method that is called after the scene is updated.

DidSimulatePhysics(ISKSceneDelegate, SKScene)

Method that is called after physics simulation for scene is complete.

Update(ISKSceneDelegate, Double, SKScene)

Method that is called once per frame, if scene is presented and not paused, before any animation takes place.

Applies to

See also