Scripting Object Reference
SceneModule
PlanarImage

PlanarImage

The PlanarImage class describes an image rendered on a plane.

Properties

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


Specifies the material of the scene object.

Methods

MethodDescription
getMaterial
getMaterial(): Promise<MaterialBase>


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