Bewerken

Delen via


SCNAnimatableExtensions.AddAnimation 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

The instance on which this method operates.

animation
SCNAnimation

The animation to add.

key
String

The key for the animation to add.

Applies to