docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OverrideTransformJob

    The OverrideTransform job.

    Implements
    IWeightedAnimationJob
    IAnimationJob
    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
    [BurstCompile]
    public struct OverrideTransformJob : IWeightedAnimationJob, IAnimationJob

    Fields

    cache

    Cache for static properties in the job.

    Declaration
    public AnimationJobCache cache
    Field Value
    Type Description
    AnimationJobCache

    driven

    The Transform handle for the constrained object Transform.

    Declaration
    public ReadWriteTransformHandle driven
    Field Value
    Type Description
    ReadWriteTransformHandle

    position

    The override position.

    Declaration
    public Vector3Property position
    Field Value
    Type Description
    Vector3Property

    positionWeight

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

    Declaration
    public FloatProperty positionWeight
    Field Value
    Type Description
    FloatProperty

    rotation

    The override rotation.

    Declaration
    public Vector3Property rotation
    Field Value
    Type Description
    Vector3Property

    rotationWeight

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

    Declaration
    public FloatProperty rotationWeight
    Field Value
    Type Description
    FloatProperty

    source

    The Transform handle for the override source object Transform.

    Declaration
    public ReadOnlyTransformHandle source
    Field Value
    Type Description
    ReadOnlyTransformHandle

    sourceInvLocalBindTx

    Cached inverse local TR used in space switching calculations.

    Declaration
    public AffineTransform sourceInvLocalBindTx
    Field Value
    Type Description
    AffineTransform

    sourceToCurrSpaceRotIdx

    CacheIndex to source to space quaternion used in current space.

    Declaration
    public CacheIndex sourceToCurrSpaceRotIdx
    Field Value
    Type Description
    CacheIndex
    See Also
    AnimationJobCache

    sourceToLocalRot

    Cached source to local coordinates quaternion. Used when Space is set to Local.

    Declaration
    public Quaternion sourceToLocalRot
    Field Value
    Type Description
    Quaternion

    sourceToPivotRot

    Cached source to pivot coordinates quaternion. Used when Space is set to Pivot.

    Declaration
    public Quaternion sourceToPivotRot
    Field Value
    Type Description
    Quaternion

    sourceToWorldRot

    Cached source to world coordinates quaternion. Used when Space is set to World.

    Declaration
    public Quaternion sourceToWorldRot
    Field Value
    Type Description
    Quaternion

    spaceIdx

    CacheIndex to the override space.

    Declaration
    public CacheIndex spaceIdx
    Field Value
    Type Description
    CacheIndex
    See Also
    AnimationJobCache

    Properties

    jobWeight

    The main weight given to the constraint. This is a value in between 0 and 1.

    Declaration
    public FloatProperty jobWeight { readonly get; set; }
    Property Value
    Type Description
    FloatProperty

    Methods

    ProcessAnimation(AnimationStream)

    Defines what to do when processing the animation.

    Declaration
    public void ProcessAnimation(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream

    The animation stream to work on.

    ProcessRootMotion(AnimationStream)

    Defines what to do when processing the root motion.

    Declaration
    public void ProcessRootMotion(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream

    The animation stream to work on.

    Implements

    IWeightedAnimationJob
    IAnimationJob
    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)