Class WeightedTransformArrayBinder | Animation Rigging | 1.0.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class WeightedTransformArrayBinder

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

    Inheritance
    Object
    WeightedTransformArrayBinder
    Namespace: UnityEngine.Animations.Rigging
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023