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

    Struct OverrideTransformData

    The OverrideTransform constraint data.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    [Serializable]
    public struct OverrideTransformData : IAnimationJobData, IOverrideTransformData

    Properties

    constrainedObject

    The Transform affected by the constraint source Transform.

    Declaration
    public Transform constrainedObject { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    IOverrideTransformData.constrainedObject

    position

    The override position. This is taken into account only if sourceObject is null.

    Declaration
    public Vector3 position { get; set; }
    Property Value
    Type Description
    Vector3

    positionWeight

    The weight for which override position has an effect on constrained Transform. This is a value in between 0 and 1.

    Declaration
    public float positionWeight { get; set; }
    Property Value
    Type Description
    Single

    rotation

    The override rotation. This is taken into account only if sourceObject is null.

    Declaration
    public Vector3 rotation { get; set; }
    Property Value
    Type Description
    Vector3

    rotationWeight

    The weight for which override rotation has an effect on constrained Transform. This is a value in between 0 and 1.

    Declaration
    public float rotationWeight { get; set; }
    Property Value
    Type Description
    Single

    sourceObject

    The override source Transform.

    Declaration
    public Transform sourceObject { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    IOverrideTransformData.sourceObject

    space

    The override space.

    Declaration
    public OverrideTransformData.Space space { get; set; }
    Property Value
    Type Description
    OverrideTransformData.Space

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

    IOverrideTransformData.positionVector3Property

    The path to the override position property in the constraint component.

    Declaration
    readonly string IOverrideTransformData.positionVector3Property { get; }
    Returns
    Type Description
    String
    Implements
    IOverrideTransformData.positionVector3Property

    IOverrideTransformData.positionWeightFloatProperty

    The path to the position weight property in the constraint component.

    Declaration
    readonly string IOverrideTransformData.positionWeightFloatProperty { get; }
    Returns
    Type Description
    String
    Implements
    IOverrideTransformData.positionWeightFloatProperty

    IOverrideTransformData.rotationVector3Property

    The path to the override rotation property in the constraint component.

    Declaration
    readonly string IOverrideTransformData.rotationVector3Property { get; }
    Returns
    Type Description
    String
    Implements
    IOverrideTransformData.rotationVector3Property

    IOverrideTransformData.rotationWeightFloatProperty

    The path to the rotation weight property in the constraint component.

    Declaration
    readonly string IOverrideTransformData.rotationWeightFloatProperty { get; }
    Returns
    Type Description
    String
    Implements
    IOverrideTransformData.rotationWeightFloatProperty

    IOverrideTransformData.space

    The override space.

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