Skip to main content

Class: BillboardController

Defined in: modules/engine/src/scenegraph/controllers/billboard-controller.ts:40

Camera-facing traversal over resolved scenegraph bindings.

Constructors​

Constructor​

new BillboardController(props): BillboardController

Defined in: modules/engine/src/scenegraph/controllers/billboard-controller.ts:45

Parameters​

props​

BillboardControllerProps

Returns​

BillboardController

Methods​

destroy()​

destroy(): void

Defined in: modules/engine/src/scenegraph/controllers/billboard-controller.ts:176

Returns​

void


getDrawEntries()​

getDrawEntries(options): BillboardDrawEntry[]

Defined in: modules/engine/src/scenegraph/controllers/billboard-controller.ts:61

Derive transforms after animation, without mutating source or runtime node matrices.

Parameters​

options​
cameraId?​

string

sceneIndex?​

number

viewMatrix​

NumericArray

Returns​

BillboardDrawEntry[]


resetCamera()​

resetCamera(cameraId?): void

Defined in: modules/engine/src/scenegraph/controllers/billboard-controller.ts:172

Reset reference depths when replacing a camera or detaching/re-attaching a scene.

Parameters​

cameraId?​

string = 'default'

Returns​

void