The Plane
class describes a plane.
Inherits From : SceneObjectBase
Property | Description |
---|---|
| (get) height: ScalarSignal Specifies the vertical size, in 3D units. |
| (get) width: ScalarSignal Specifies the horizontal size, in 3D units. |
| (get) x: ScalarSignal Specifies the horizontal offset, in 3D units. |
| (get) y: ScalarSignal Specifies the vertical offset, in 3D units. |
Method | Description |
---|---|
| 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. |