Struct TwistChainConstraintData | Animation Rigging | 1.0.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TwistChainConstraintData

    The TwistChain constraint data.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    [Serializable]
    public struct TwistChainConstraintData : IAnimationJobData, ITwistChainConstraintData

    Properties

    curve

    Curve with weight values used to adjust how twist is distributed along the chain.

    Declaration
    public AnimationCurve curve { get; set; }
    Property Value
    Type Description
    AnimationCurve
    Implements
    ITwistChainConstraintData.curve

    root

    The root Transform of the TwistChain hierarchy.

    Declaration
    public Transform root { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    ITwistChainConstraintData.root

    rootTarget

    The TwistChain root target Transform.

    Declaration
    public Transform rootTarget { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    ITwistChainConstraintData.rootTarget

    tip

    The tip Transform of the TwistChain hierarchy.

    Declaration
    public Transform tip { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    ITwistChainConstraintData.tip

    tipTarget

    The TwistChain tip target Transform.

    Declaration
    public Transform tipTarget { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    ITwistChainConstraintData.tipTarget

    Explicit Interface Implementations

    IAnimationJobData.IsValid()

    Retrieves the data valid state.

    Declaration
    bool IAnimationJobData.IsValid()
    Returns
    Type Description
    Boolean

    Returns true if data can be successfully used in a constraint. Returns false otherwise.

    Implements
    IAnimationJobData.IsValid()

    IAnimationJobData.SetDefaultValues()

    Resets values to defaults.

    Declaration
    void IAnimationJobData.SetDefaultValues()
    Implements
    IAnimationJobData.SetDefaultValues()
    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