Upravit

Sdílet prostřednictvím


SCNAnimatable_Extensions Class

Definition

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

public static class SCNAnimatable_Extensions
type SCNAnimatable_Extensions = class
Inheritance
SCNAnimatable_Extensions

Remarks

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.

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.

Applies to