docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MultiReferentialConstraintJob

    The MultiReferential constraint 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 MultiReferentialConstraintJob : IWeightedAnimationJob, IAnimationJob

    Fields

    driver

    The driver index.

    Declaration
    public IntProperty driver
    Field Value
    Type Description
    IntProperty

    offsetTx

    List of AffineTransform to apply to driven source objects.

    Declaration
    public NativeArray<AffineTransform> offsetTx
    Field Value
    Type Description
    NativeArray<AffineTransform>

    sourceBindTx

    Cache of AffineTransform representing the source objects initial positions.

    Declaration
    public NativeArray<AffineTransform> sourceBindTx
    Field Value
    Type Description
    NativeArray<AffineTransform>

    sources

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

    Declaration
    public NativeArray<ReadWriteTransformHandle> sources
    Field Value
    Type Description
    NativeArray<ReadWriteTransformHandle>

    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)