SceneModule Overview
SceneModule Overview
PlanarStack

PlanarStack

The PlanarImage class describes an image rendered on a plane.

Inherits From : PlanarObject

Properties

PropertyDescription
childAlign
(get) childAlign: Signal<SceneModule.StackAlign>
(set) childAlign: Signal<SceneModule.StackAlign>


Specifies the alignment of the stack children
childDistribute
(get) childDistribute: Signal<SceneModule.StackDistribute>
(set) childDistribute: Signal<SceneModule.StackDistribute>


Specifies the distribution of the stack children
direction
(get) direction: Signal<SceneModule.StackDirection>
(set) direction: Signal<SceneModule.StackDirection>


Specifies the direction of the stack layout.
gap
(get) gap: ScalarSignal
(set) gap: ScalarSignal


Specifies the gap between the stack children

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.
setMaterial
setMaterial(m: MaterialBase): Promise<null>


Returns a promise that is resolved when given material is associated with a given scene object.

Was this article helpful?