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

    Interface IMultiParentConstraintData

    This interface defines the data mapping for the MultiParent constraint.

    Namespace: UnityEngine.Animations.Rigging
    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
    Boolean

    constrainedPositionYAxis

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

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

    constrainedPositionZAxis

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

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

    constrainedRotationXAxis

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

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

    constrainedRotationYAxis

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

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

    constrainedRotationZAxis

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

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

    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
    Boolean

    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
    Boolean

    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
    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