Struct CreateRootMotionClipNodeElement | DOTS Timeline | 0.4.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CreateRootMotionClipNodeElement

    Buffer Element used to create a root motion node

    Namespace: Unity.Timeline.Animation
    Syntax
    public struct CreateRootMotionClipNodeElement : IBufferElementData

    Fields

    AnimatedOffset

    The Animated Local Root Motion Offset

    Declaration
    public BlobAssetReference<AnimatedRigidTransformBlob> AnimatedOffset
    Field Value
    Type Description
    BlobAssetReference<AnimatedRigidTransformBlob>

    ClipOffset

    The Offset of this root motion Clip

    Declaration
    public RigidTransform ClipOffset
    Field Value
    Type Description
    RigidTransform

    Entity

    The Entity to associate to the Animation Clip Node

    Declaration
    public Entity Entity
    Field Value
    Type Description
    Entity

    HasAnimation

    Separately store whether the root motion offset is animated Works around an issue where passing a null blob asset reference does not give back null in playmode

    Declaration
    public bool HasAnimation
    Field Value
    Type Description
    Boolean

    MixerIndex

    The index of the root motion mixer to connect to

    Declaration
    public ushort MixerIndex
    Field Value
    Type Description
    UInt16

    PortIndex

    The index of the mixer port to attach to

    Declaration
    public ushort PortIndex
    Field Value
    Type Description
    UInt16

    TimeOffset

    The time offset of the Root Motion Clip

    Declaration
    public DiscreteTime TimeOffset
    Field Value
    Type Description
    DiscreteTime
    Back to top
    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