MeshSurface class describes a surface in a mesh.
(get) name: string
Returns the surface name.
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.
setMaterial(m: MaterialBase): Promise<null>
Returns a promise that is resolved when given material is associated with a given scene object.