docs.unity.cn
    Show / Hide Table of Contents

    Struct TwistChainConstraintData

    The TwistChain constraint data.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021