API Reference › Globals › GLBViewerLightSetting
# Class: GLBViewerLightSetting
# Hierarchy
-
↳ GLBViewerLightSetting
# Index
# Constructors
# Methods
# Constructors
# constructor
+ new GLBViewerLightSetting(scene
: Scene, oldLightSetting?
: LightSetting): GLBViewerLightSetting
Overrides LightSetting.constructor
Defined in packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.ts:12
Parameters:
Name | Type |
---|---|
scene | Scene |
oldLightSetting? | LightSetting |
Returns: GLBViewerLightSetting
# Methods
# addToScene
▸ addToScene(): void
Overrides LightSetting.addToScene
Defined in packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.ts:22
Returns: void
# getCameraContainer
▸ getCameraContainer(): Object3D
Inherited from LightSetting.getCameraContainer
Defined in packages/common-core/src/lightsetting/light-setting.ts:29
Returns: Object3D
# needsBounds
▸ needsBounds(): boolean
Inherited from LightSetting.needsBounds
Defined in packages/common-core/src/lightsetting/light-setting.ts:13
Returns: boolean
# reload
▸ reload(): void
Overrides LightSetting.reload
Defined in packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.ts:30
Returns: void
# removeFromScene
▸ removeFromScene(): void
Overrides LightSetting.removeFromScene
Defined in packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.ts:26
Returns: void
# showGUI
▸ showGUI(): void
Overrides LightSetting.showGUI
Defined in packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.ts:35
Returns: void
# updateBounds
▸ updateBounds(_bounds
: Box3): void
Inherited from LightSetting.updateBounds
Defined in packages/common-core/src/lightsetting/light-setting.ts:17
Parameters:
Name | Type |
---|---|
_bounds | Box3 |
Returns: void