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

    Struct MultiReferentialConstraintData

    The MultiReferential constraint data.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    [Serializable]
    public struct MultiReferentialConstraintData : IAnimationJobData, IMultiReferentialConstraintData

    Properties

    driver

    The driver index. This is a value in between 0 and the number of sourceObjects.

    Declaration
    public int driver { get; set; }
    Property Value
    Type Description
    Int32

    sourceObjects

    The list of Transforms that are affected by the specified driver.

    Declaration
    public List<Transform> sourceObjects { get; set; }
    Property Value
    Type Description
    List<Transform>

    Methods

    UpdateDriver()

    Updates the driver index to match the number of source objects.

    Declaration
    public void UpdateDriver()

    Explicit Interface Implementations

    IAnimationJobData.IsValid()

    Retrieves the data valid state.

    Declaration
    bool IAnimationJobData.IsValid()
    Returns
    Type Description
    Boolean

    Returns true if data can be successfully used in a constraint. Returns false otherwise.

    Implements
    IAnimationJobData.IsValid()

    IAnimationJobData.SetDefaultValues()

    Resets values to defaults.

    Declaration
    void IAnimationJobData.SetDefaultValues()
    Implements
    IAnimationJobData.SetDefaultValues()

    IMultiReferentialConstraintData.driverIntProperty

    The path to the driver property in the constraint component.

    Declaration
    readonly string IMultiReferentialConstraintData.driverIntProperty { get; }
    Returns
    Type Description
    String
    Implements
    IMultiReferentialConstraintData.driverIntProperty

    IMultiReferentialConstraintData.driverValue

    The driver index. This is a value in between 0 and the number of sourceObjects.

    Declaration
    readonly int IMultiReferentialConstraintData.driverValue { get; }
    Returns
    Type Description
    Int32
    Implements
    IMultiReferentialConstraintData.driverValue

    IMultiReferentialConstraintData.sourceObjects

    The list of Transforms that can act as drivers for the constrained Transform.

    Declaration
    readonly Transform[] IMultiReferentialConstraintData.sourceObjects { get; }
    Returns
    Type Description
    Transform[]
    Implements
    IMultiReferentialConstraintData.sourceObjects
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)