AnimationTarget Class

Definition

Definition class for an animation target, utilized in the State Visualizer component.

C++
public ref class AnimationTarget
Inheritance
AnimationTarget
Attributes

Constructors

Properties

StateAnimatableProperties

List of animatable properties for the target game object. Scale and material color are examples of animatable properties.

Target

The target game object for animations.

Methods

AddNewAnimatableProperty(AnimatableProperty, String)
RemoveKeyFrames(String, AnimationClip)

Remove keyframes for a given animatable property.

SetKeyFrames(AnimationClip)

Set the keyframes on an AnimationClip.

Applies to

Product Versions
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0