docs.unity3d.com
    目次を表示する/隠す

    Interface IMultiRotationConstraintData

    This interface defines the data mapping for the MultiRotation constraint.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public interface IMultiRotationConstraintData

    Properties

    constrainedObject

    The Transform affected by the constraint Source Transforms.

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

    constrainedXAxis

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

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

    constrainedYAxis

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

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

    constrainedZAxis

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

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

    maintainOffset

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

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

    offsetVector3Property

    The path to the offset property in the constraint component.

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

    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
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)