docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WeightedTransformArrayBinder

    This class is used to create Animation C# jobs handles for WeightedTransformArray.

    Inheritance
    object
    WeightedTransformArrayBinder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    Syntax
    public class WeightedTransformArrayBinder

    Methods

    BindReadOnlyTransforms(Animator, Component, WeightedTransformArray, out NativeArray<ReadOnlyTransformHandle>)

    Creates an array of ReadOnlyTransformHandles representing the new bindings between the Animator and the Transforms in a WeightedTransformArray.

    Declaration
    public static void BindReadOnlyTransforms(Animator animator, Component component, WeightedTransformArray weightedTransformArray, out NativeArray<ReadOnlyTransformHandle> transforms)
    Parameters
    Type Name Description
    Animator animator

    The Animator on which to bind the new handle.

    Component component

    The component owning the WeightedTransformArray property.

    WeightedTransformArray weightedTransformArray

    The WeightedTransformArray property.

    NativeArray<ReadOnlyTransformHandle> transforms

    The resulting array of ReadOnlyTransformHandles.

    BindReadWriteTransforms(Animator, Component, WeightedTransformArray, out NativeArray<ReadWriteTransformHandle>)

    Creates an array of ReadWriteTransformHandles representing the new bindings between the Animator and the Transforms in a WeightedTransformArray.

    Declaration
    public static void BindReadWriteTransforms(Animator animator, Component component, WeightedTransformArray weightedTransformArray, out NativeArray<ReadWriteTransformHandle> transforms)
    Parameters
    Type Name Description
    Animator animator

    The Animator on which to bind the new handle.

    Component component

    The component owning the WeightedTransformArray property.

    WeightedTransformArray weightedTransformArray

    The WeightedTransformArray property.

    NativeArray<ReadWriteTransformHandle> transforms

    The resulting array of ReadWriteTransformHandles.

    BindWeights(Animator, Component, WeightedTransformArray, string, out NativeArray<PropertyStreamHandle>)

    Creates an array of PropertyStreamHandle representing the new bindings between the Animator and the weights in a WeightedTransformArray.

    Declaration
    public static void BindWeights(Animator animator, Component component, WeightedTransformArray weightedTransformArray, string name, out NativeArray<PropertyStreamHandle> weights)
    Parameters
    Type Name Description
    Animator animator

    The Animator on which to bind the new handle.

    Component component

    The component owning the WeightedTransformArray property.

    WeightedTransformArray weightedTransformArray

    The WeightedTransformArray property.

    string name
    NativeArray<PropertyStreamHandle> weights
    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)