Scripting API
SceneModule
Mesh

Mesh

The Mesh class describes a scene mesh.

Inherits From : SceneObjectBase

Properties

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


Specifies the material of the scene object.

Methods

MethodDescription
getBlendShapes
getBlendShapes(): Promise<Array<BlendShape>>


Returns a JS Promise which will be fulfilled with array of blend Shapes or an error.
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.
getSurfaces
getSurfaces(): Promise<Array<MeshSurface>>


Returns a JS Promise which will be fulfilled with array of MeshSurfaces or an error.