Mesh provider for a Face Mesh. Accessible through the control property on a Face Mesh RenderMesh.

// @input Asset.RenderMesh faceMesh

var mouthCloseWeight = script.faceMesh.control.getExpressionWeightByName(Expressions.MouthClose);

Hierarchy (View Summary, Expand)

Constructors

Properties

earGeometryEnabled: boolean

When true, ears will be included in the Face Mesh geometry.

eyeCornerGeometryEnabled: boolean

When true, a small area in the corners of the eyes will be included in the Face Mesh geometry.

eyeGeometryEnabled: boolean

When true, eyes will be included in the Face Mesh geometry.

faceGeometryEnabled: boolean

When true, the general face (not including eyes and mouth) will be included in the Face Mesh geometry.

faceIndex: number

Index of the face this FaceRenderObjectProvider mirrors.

mouthGeometryEnabled: boolean

When true, the mouth will be included in the Face Mesh geometry.

skullGeometryEnabled: boolean

When true, the skull will be included in the Face Mesh geometry.

Methods

  • Returns a list of all expression names being tracked.

    Returns string[]

  • Returns the weight of the expression with the passed in name. See Expressions for valid expression names.

    Parameters

    • expressionName: string

    Returns number

  • Returns a Float32Array of all expression weights being tracked.

    Returns Float32Array

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

MMNEPVFCICPMFPCPTTAAATR