PositionOffsetStateAnimatableProperty Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PositionOffset animatable property adds/sets keyframes for the "localPosition" property in an animation clip.
public ref class PositionOffsetStateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::StateAnimatableProperty
public class PositionOffsetStateAnimatableProperty : Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.StateAnimatableProperty
type PositionOffsetStateAnimatableProperty = class
inherit StateAnimatableProperty
Public Class PositionOffsetStateAnimatableProperty
Inherits StateAnimatableProperty
- Inheritance
Position |
Constructor for a Position Offset Animatable Property. Sets the default AnimatablePropertyName. |
Animatable |
The name of state animatable property. (Inherited from StateAnimatableProperty) |
Animation |
The duration of the animation in seconds. (Inherited from StateAnimatableProperty) |
Position |
The position offset added to the current position of the target object. |
State |
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) |
Get |
(Inherited from StateAnimatableProperty) |
Remove |
Removes the keyframes in an animation clip. |
Set |
Sets the keyframes in an animation clip based on the values of the animatable properties. |
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 |