Interface ITwoBoneIKConstraintData | Animation Rigging | 1.0.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface ITwoBoneIKConstraintData

    This interface defines the data mapping for the TwoBoneIK constraint.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public interface ITwoBoneIKConstraintData

    Properties

    hint

    The IK hint transform.

    Declaration
    Transform hint { get; }
    Property Value
    Type Description
    Transform

    hintWeightFloatProperty

    The path to the hint weight property in the constraint component.

    Declaration
    string hintWeightFloatProperty { get; }
    Property Value
    Type Description
    String

    maintainTargetPositionOffset

    This is used to maintain the offset of the tip position to the target position.

    Declaration
    bool maintainTargetPositionOffset { get; }
    Property Value
    Type Description
    Boolean

    maintainTargetRotationOffset

    This is used to maintain the offset of the tip rotation to the target rotation.

    Declaration
    bool maintainTargetRotationOffset { get; }
    Property Value
    Type Description
    Boolean

    mid

    The mid transform of the two bones hierarchy.

    Declaration
    Transform mid { get; }
    Property Value
    Type Description
    Transform

    root

    The root transform of the two bones hierarchy.

    Declaration
    Transform root { get; }
    Property Value
    Type Description
    Transform

    target

    The IK target transform.

    Declaration
    Transform target { get; }
    Property Value
    Type Description
    Transform

    targetPositionWeightFloatProperty

    The path to the target position weight property in the constraint component.

    Declaration
    string targetPositionWeightFloatProperty { get; }
    Property Value
    Type Description
    String

    targetRotationWeightFloatProperty

    The path to the target rotation weight property in the constraint component.

    Declaration
    string targetRotationWeightFloatProperty { get; }
    Property Value
    Type Description
    String

    tip

    The tip transform of the two bones hierarchy.

    Declaration
    Transform tip { get; }
    Property Value
    Type Description
    Transform
    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