Class AnimationRandomizerTag
Used in conjunction with a AnimationRandomizer to select a random animation frame for the tagged game object
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Randomizers.SampleRandomizers.Tags
Syntax
public class AnimationRandomizerTag : RandomizerTag
Fields
animationClips
A list of animation clips from which to choose
Declaration
public AnimationClipParameter animationClips
Field Value
Type | Description |
---|---|
AnimationClipParameter |
applyRootMotion
Apply the root motion to the animator. If true, if an animation has a rotation translation and/or rotation that will be applied to the labeled model, which means that the model maybe move to a new position. If false, then the model will stay at its current position/rotation.
Declaration
public bool applyRootMotion
Field Value
Type | Description |
---|---|
Boolean |
Properties
animatorOverrideController
Gets the animation override controller for an animation randomization. The controller is loaded from resources.
Declaration
public AnimatorOverrideController animatorOverrideController { get; }
Property Value
Type | Description |
---|---|
AnimatorOverrideController |