Search Results for

    Show / Hide Table of Contents

    Struct BlendShapePlayerJob

    Represents a Job that plays BlendShapeKeys efficiently.

    Namespace: TriLibCore.BlendShapePlayer
    Assembly: TriLibCore.BlendShapePlayer.dll
    Syntax
    public struct BlendShapePlayerJob

    Constructors

    BlendShapePlayerJob(NativeArray<Vector3>, NativeArray<Vector3>, NativeArray<Vector3>, NativeArray<float>, NativeArray<float>)

    Creates the BlendShapePlayer job.

    Declaration
    public BlendShapePlayerJob(NativeArray<Vector3> blendShapeVertices, NativeArray<Vector3> originalVertices, NativeArray<Vector3> modifiedVertices, NativeArray<float> weights, NativeArray<float> frameWeights)
    Parameters
    Type Name Description
    NativeArray<Vector3> blendShapeVertices

    The list of all BlendShapeKey vertices.

    NativeArray<Vector3> originalVertices

    The list of the source Mesh original vertices.

    NativeArray<Vector3> modifiedVertices

    The list of the source Mesh modified vertices.

    NativeArray<float> weights

    The list of BlendShapeKey current weights.

    NativeArray<float> frameWeights

    The list of BlendShapeKey maximum weights.

    Methods

    Execute(int)

    Processes the BlendShapeKeys and applies the results to the modified vertices list.

    Declaration
    public void Execute(int index)
    Parameters
    Type Name Description
    int index

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top TriLib documentation