TriLib
Search Results for

    Show / Hide Table of Contents

    Struct BlendShapePlayerJob

    Represents a Job that plays BlendShapeKeys efficiently.

    Implements
    IJobParallelFor
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: TriLibCore.BlendShapePlayer
    Assembly: Assembly-CSharp.dll
    Syntax
    public struct BlendShapePlayerJob : IJobParallelFor

    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

    Implements

    Unity.Jobs.IJobParallelFor
    In this article
    Back to top Generated by DocFX