AnimationTarget 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.
Definition class for an animation target, utilized in the State Visualizer component.
C++
public ref class AnimationTarget
[System.Serializable]
public class AnimationTarget
[<System.Serializable>]
type AnimationTarget = class
Public Class AnimationTarget
- Inheritance
-
AnimationTarget
- Attributes
State |
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. |
Add |
|
Remove |
Remove keyframes for a given animatable property. |
Set |
Set the keyframes on an AnimationClip. |
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 |