SceneModule Overview
SceneModule Overview
FaceMesh

FaceMesh

The FaceMesh class describes a face mesh.

Inherits From : SceneObjectBase

Properties

PropertyDescription
material
(get) material: MaterialBase | null
(set) material: MaterialBase | null


Specifies the material of the scene object.

Methods

MethodDescription
getMaterial
getMaterial(): Promise<MaterialBase | null>


Returns a promise that is resolved with the material associated with a given scene object or null if no material was assigned.

Was this article helpful?