docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ITwoBoneIKConstraintData

    This interface defines the data mapping for the TwoBoneIK constraint.

    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    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
    bool

    maintainTargetRotationOffset

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

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

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)