docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OverrideTransformData

    The OverrideTransform constraint data.

    Implements
    IAnimationJobData
    IOverrideTransformData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    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

    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
    float

    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
    float

    sourceObject

    The override source Transform.

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

    space

    The override space.

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

    Implements

    IAnimationJobData
    IOverrideTransformData
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)