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

    Struct RootMotionOptions

    Options for applying root motion

    Namespace: Unity.Timeline.Animation
    Syntax
    [Serializable]
    public struct RootMotionOptions : IEquatable<RootMotionOptions>

    Fields

    BankPivot

    Declaration
    public bool BankPivot
    Field Value
    Type Description
    Boolean

    CycleRootMotion

    Declaration
    public bool CycleRootMotion
    Field Value
    Type Description
    Boolean

    RemoveStartOffset

    Declaration
    public bool RemoveStartOffset
    Field Value
    Type Description
    Boolean

    RootMotionNode

    Declaration
    public string RootMotionNode
    Field Value
    Type Description
    String

    SampleRate

    Declaration
    public RootMotionOptions.RootClipSampleRate SampleRate
    Field Value
    Type Description
    RootMotionOptions.RootClipSampleRate

    Methods

    Create()

    Declaration
    public static RootMotionOptions Create()
    Returns
    Type Description
    RootMotionOptions

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(RootMotionOptions)

    Declaration
    public bool Equals(RootMotionOptions other)
    Parameters
    Type Name Description
    RootMotionOptions other
    Returns
    Type Description
    Boolean

    GetClipConfiguration(ClipConfiguration)

    Declaration
    public ClipConfiguration GetClipConfiguration(ClipConfiguration config)
    Parameters
    Type Name Description
    ClipConfiguration config
    Returns
    Type Description
    ClipConfiguration

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    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