ISCNAnimatable 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.
Allows animations to be applied.
[Foundation.Protocol(Name="SCNAnimatable", WrapperType=typeof(SceneKit.SCNAnimatableWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(SceneKit.ISCNAnimationProtocol), typeof(System.String) }, Selector="addAnimation:forKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(SceneKit.SCNAnimationPlayer), typeof(Foundation.NSString) }, Selector="addAnimationPlayer:forKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAllAnimations", Selector="removeAllAnimations")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAllAnimationsWithBlendOutDuration", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAllAnimationsWithBlendOutDuration:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="removeAnimationForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimationKeys", ReturnType=typeof(Foundation.NSString[]), Selector="animationKeys")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimationPlayer", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(SceneKit.SCNAnimationPlayer), Selector="animationPlayerForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(CoreAnimation.CAAnimation), Selector="animationForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="pauseAnimationForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ResumeAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="resumeAnimationForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="IsAnimationPaused", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(System.Boolean), Selector="isAnimationForKeyPaused:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSString), typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAnimationForKey:fadeOutDuration:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimationUsingBlendOutDuration", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSString), typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAnimationForKey:blendOutDuration:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetSpeed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(Foundation.NSString) }, Selector="setSpeed:forAnimationKey:")]
public interface ISCNAnimatable : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="SCNAnimatable", WrapperType=typeof(SceneKit.SCNAnimatableWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(SceneKit.ISCNAnimationProtocol), typeof(System.String) }, Selector="addAnimation:forKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(SceneKit.SCNAnimationPlayer), typeof(Foundation.NSString) }, Selector="addAnimationPlayer:forKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAllAnimations", Selector="removeAllAnimations")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAllAnimationsWithBlendOutDuration", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAllAnimationsWithBlendOutDuration:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="removeAnimationForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimationKeys", ReturnType=typeof(Foundation.NSString[]), Selector="animationKeys")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimationPlayer", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(SceneKit.SCNAnimationPlayer), Selector="animationPlayerForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(CoreAnimation.CAAnimation), Selector="animationForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="pauseAnimationForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ResumeAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, Selector="resumeAnimationForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="IsAnimationPaused", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(System.Boolean), Selector="isAnimationForKeyPaused:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSString), typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAnimationForKey:fadeOutDuration:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="RemoveAnimationUsingBlendOutDuration", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSString), typeof(System.Runtime.InteropServices.NFloat) }, Selector="removeAnimationForKey:blendOutDuration:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetSpeed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(Foundation.NSString) }, Selector="setSpeed:forAnimationKey:")>]
type ISCNAnimatable = 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 |
|---|---|
| AddAnimation(ISCNAnimationProtocol, String) |
Adds |
| AddAnimation(SCNAnimationPlayer, NSString) | |
| GetAnimation(NSString) |
Developers should not use this deprecated method. Developers should use 'GetAnimationPlayer' instead. |
| GetAnimationKeys() | |
| GetAnimationPlayer(NSString) | |
| IsAnimationPaused(NSString) | |
| PauseAnimation(NSString) | |
| RemoveAllAnimations() | |
| RemoveAllAnimationsWithBlendOutDuration(NFloat) | |
| RemoveAnimation(NSString, NFloat) |
Deprecated. Developers should use RemoveAnimationUsingBlendOutDuration(NSString, NFloat). |
| RemoveAnimation(NSString) | |
| RemoveAnimationUsingBlendOutDuration(NSString, NFloat) |
Removes the specified animation, blending it out over the specified duration. |
| ResumeAnimation(NSString) | |
| SetSpeed(NFloat, NSString) |
Deprecated. Developers should use Speed, instead. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |