Modifica

Condividi tramite


ISCNAnimatable Interface

Definition

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

[Foundation.Protocol(Name="SCNAnimatable", WrapperType=typeof(SceneKit.SCNAnimatableWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISCNAnimatable : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="SCNAnimatable", WrapperType=typeof(SceneKit.SCNAnimatableWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISCNAnimatable : IDisposable, ObjCRuntime.INativeObject
type ISCNAnimatable = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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 SCNAnimatable protocol.

Optional methods (if any) are provided by the SCNAnimatable_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)

Methods

AddAnimation(CAAnimation, NSString)
GetAnimation(NSString)

Developers should not use this deprecated method. Developers should use 'GetAnimationPlayer' instead.

GetAnimationKeys()
IsAnimationPaused(NSString)
PauseAnimation(NSString)
RemoveAllAnimations()
RemoveAnimation(NSString, nfloat)
RemoveAnimation(NSString)
ResumeAnimation(NSString)

Extension Methods

AddAnimation(ISCNAnimatable, SCNAnimationPlayer, NSString)
GetAnimationPlayer(ISCNAnimatable, NSString)
RemoveAnimationUsingBlendOutDuration(ISCNAnimatable, NSString, nfloat)
SetSpeed(ISCNAnimatable, nfloat, NSString)

Developers should not use this deprecated method. Developers should use 'SCNAnimationPlayer.Speed' instead.

AddAnimation(ISCNAnimatable, SCNAnimation, String)

Adds the specified animation and associates it with the specified key.

Applies to