StateAnimatableProperty Class

Definition

The base class for state animatable properties. Based on the values defined in the animatable property, keyframes for a target game object are set in the animation clip linked to the animatable properties.

C++
public ref class StateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::IStateAnimatableProperty
Inheritance
StateAnimatableProperty
Derived
Attributes
Implements

Constructors

Properties

AnimatablePropertyName

The name of state animatable property.

AnimationDuration

The duration of the animation in seconds.

StateName

The name of the interaction state associated with this state animatable property.

Target

The target game object to animate.

Methods

GetTargetPath(GameObject)
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

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0