SCNAnimatable_Extensions SCNAnimatable_Extensions Class


Extension methods to the ISCNAnimatable interface to support all the methods from the SCNAnimatable protocol.

public static class SCNAnimatable_Extensions
type SCNAnimatable_Extensions = class


The extension methods for ISCNAnimatable allow developers to treat instances of the interface as having all the optional methods of the original SCNAnimatable protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.


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

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

Applies to