IStateAnimatableProperty Interface

Definition

Interface for animatable properties, utilized in the State Visualizer component.

C++
public interface class IStateAnimatableProperty
Derived

Properties

AnimatablePropertyName

The name of the animatable property.

StateName

The name of the state associated with this animatable property.

Target

The target game object to receive animations based on the values of the animatable properties.

Methods

RemoveKeyFrames(AnimationClip)

Removes the keyframes in an animation clip.

SetKeyFrames(AnimationClip)

Sets the keyframes in an animation clip based on the values of the animatable properties.

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