Skip to main content

Class: AreaLightController

Defined in: modules/engine/src/scenegraph/controllers/area-light-controller.ts:31

Resolves visible area-light instances from the current scenegraph transforms.

Constructors​

Constructor​

new AreaLightController(__namedParameters): AreaLightController

Defined in: modules/engine/src/scenegraph/controllers/area-light-controller.ts:36

Parameters​

__namedParameters​

AreaLightControllerProps

Returns​

AreaLightController

Methods​

destroy()​

destroy(): void

Defined in: modules/engine/src/scenegraph/controllers/area-light-controller.ts:109

Returns​

void


getLights()​

getLights(sceneIndex?): AreaLight[]

Defined in: modules/engine/src/scenegraph/controllers/area-light-controller.ts:56

Recompute after animation. Scale controls size uniformly and does not change emitting rotation.

Parameters​

sceneIndex?​

number = 0

Returns​

AreaLight[]