ISKSceneDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| DidEvaluateActions(SKScene) |
Method that is called after all scene actions are evaluated for |
| DidFinishUpdate(SKScene) |
Method that is called after the |
| DidSimulatePhysics(SKScene) |
Method that is called after physics simulation for |
| Update(Double, SKScene) |
Method that is called once per frame, if |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| DidApplyConstraints(ISKSceneDelegate, SKScene) |
Method that is called after constraints are applied to |
| DidEvaluateActions(ISKSceneDelegate, SKScene) |
Method that is called after all scene actions are evaluated for |
| DidFinishUpdate(ISKSceneDelegate, SKScene) |
Method that is called after the |
| DidSimulatePhysics(ISKSceneDelegate, SKScene) |
Method that is called after physics simulation for |
| Update(ISKSceneDelegate, Double, SKScene) |
Method that is called once per frame, if |