PositionOffsetStateAnimatableProperty Class

Definition

The PositionOffset animatable property adds/sets keyframes for the "localPosition" property in an animation clip.

C++
public ref class PositionOffsetStateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::StateAnimatableProperty
Inheritance
PositionOffsetStateAnimatableProperty

Constructors

PositionOffsetStateAnimatableProperty()

Constructor for a Position Offset Animatable Property. Sets the default AnimatablePropertyName.

Properties

AnimatablePropertyName

The name of state animatable property.

(Inherited from StateAnimatableProperty)
AnimationDuration

The duration of the animation in seconds.

(Inherited from StateAnimatableProperty)
PositionOffset

The position offset added to the current position of the target object.

StateName

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

(Inherited from StateAnimatableProperty)
Target

The target game object to animate.

(Inherited from StateAnimatableProperty)

Methods

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