SCNAnimatableExtensions.AddAnimation(ISCNAnimatable, SCNAnimation, String) SCNAnimatableExtensions.AddAnimation(ISCNAnimatable, SCNAnimation, String) Method

Definition

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

public static void AddAnimation (this SceneKit.ISCNAnimatable self, SceneKit.SCNAnimation animation, string key);
static member AddAnimation : SceneKit.ISCNAnimatable * SceneKit.SCNAnimation * string -> unit

Parameters

self
ISCNAnimatable ISCNAnimatable

The instance on which this method operates.

animation
SCNAnimation SCNAnimation

The animation to add.

key
String String

The key for the animation to add.

Applies to