docs.unity3d.com
    Show / Hide Table of Contents

    Class AnimationRandomizerTag

    Used in conjunction with a AnimationRandomizer to select a random animation frame for the tagged game object

    Inheritance
    Object
    RandomizerTag
    AnimationRandomizerTag
    Inherited Members
    RandomizerTag.OnEnable()
    RandomizerTag.OnDisable()
    RandomizerTag.Register()
    RandomizerTag.Unregister()
    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023