docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMultiParentConstraintData

    This interface defines the data mapping for the MultiParent constraint.

    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    Syntax
    public interface IMultiParentConstraintData

    Properties

    constrainedObject

    The Transform affected by the constraint Source Transforms.

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

    constrainedPositionXAxis

    Toggles whether the constrained transform will translate along the X axis.

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

    constrainedPositionYAxis

    Toggles whether the constrained transform will translate along the Y axis.

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

    constrainedPositionZAxis

    Toggles whether the constrained transform will translate along the Z axis.

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

    constrainedRotationXAxis

    Toggles whether the constrained transform will rotate along the X axis.

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

    constrainedRotationYAxis

    Toggles whether the constrained transform will rotate along the Y axis.

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

    constrainedRotationZAxis

    Toggles whether the constrained transform will rotate along the Z axis.

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

    maintainPositionOffset

    This is used to maintain the current position offset from the constrained GameObject to the source GameObjects.

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

    maintainRotationOffset

    This is used to maintain the current rotation offset from the constrained GameObject to the source GameObjects.

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

    sourceObjects

    The list of Transforms that influence the constrained Transform rotation. Each source has a weight from 0 to 1.

    Declaration
    WeightedTransformArray sourceObjects { get; }
    Property Value
    Type Description
    WeightedTransformArray

    sourceObjectsProperty

    The path to the source objects property in the constraint component.

    Declaration
    string sourceObjectsProperty { get; }
    Property Value
    Type Description
    string
    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)