docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021