API ReferenceGlobalsDynamicLightSetting

# Class: DynamicLightSetting

# Hierarchy

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new DynamicLightSetting(scene: Scene, oldLightSetting?: LightSetting): DynamicLightSetting

Overrides LightSetting.constructor

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:15

Parameters:

Name Type
scene Scene
oldLightSetting? LightSetting

Returns: DynamicLightSetting

# Methods

# addToScene

addToScene(): void

Overrides LightSetting.addToScene

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:72

Returns: void


# getCameraContainer

getCameraContainer(): Object3D

Inherited from LightSetting.getCameraContainer

Defined in packages/common-core/src/lightsetting/light-setting.ts:29

Returns: Object3D


# loadFromJSON

loadFromJSON(json: string): Promise‹void›

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:40

Parameters:

Name Type
json string

Returns: Promise‹void›


# loadFromObject

loadFromObject(sceneSettings: SceneSettings): Promise‹void›

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:48

Parameters:

Name Type
sceneSettings SceneSettings

Returns: Promise‹void›


# loadFromURL

loadFromURL(url: string): Promise‹void›

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:65

Parameters:

Name Type
url string

Returns: Promise‹void›


# needsBounds

needsBounds(): boolean

Overrides LightSetting.needsBounds

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:21

Returns: boolean


# reload

reload(): void

Overrides LightSetting.reload

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:102

Returns: void


# removeFromScene

removeFromScene(): void

Overrides LightSetting.removeFromScene

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:93

Returns: void


# showGUI

showGUI(): void

Overrides LightSetting.showGUI

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:107

Returns: void


# update

update(camera: PerspectiveCamera, target: Vector3): void

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:81

Parameters:

Name Type
camera PerspectiveCamera
target Vector3

Returns: void


# updateBounds

updateBounds(bounds: Box3): void

Overrides LightSetting.updateBounds

Defined in packages/common-core/src/lightsetting/dynamic-light-setting.ts:25

Parameters:

Name Type
bounds Box3

Returns: void