API Reference › Globals › PlannerLightSetting
# Class: PlannerLightSetting
# Hierarchy
-
↳ PlannerLightSetting
# Index
# Constructors
# Methods
- addToScene
- getCameraContainer
- needsBounds
- reload
- removeFromScene
- showGUI
- updateBounds
- updateSunPosition
# Constructors
# constructor
+ new PlannerLightSetting(scene
: Scene, oldLightSetting?
: LightSetting): PlannerLightSetting
Overrides LightSetting.constructor
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:28
Parameters:
Name | Type |
---|---|
scene | Scene |
oldLightSetting? | LightSetting |
Returns: PlannerLightSetting
# Methods
# addToScene
▸ addToScene(): void
Overrides LightSetting.addToScene
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:60
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
Overrides LightSetting.needsBounds
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:78
Returns: boolean
# reload
▸ reload(): void
Overrides LightSetting.reload
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:73
Returns: void
# removeFromScene
▸ removeFromScene(): void
Overrides LightSetting.removeFromScene
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:67
Returns: void
# showGUI
▸ showGUI(): void
Overrides LightSetting.showGUI
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:109
Returns: void
# updateBounds
▸ updateBounds(bounds
: Box3): void
Overrides LightSetting.updateBounds
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:82
Parameters:
Name | Type |
---|---|
bounds | Box3 |
Returns: void
# updateSunPosition
▸ updateSunPosition(_inclination
: number, _azimuth
: number): void
Defined in packages/planner-core/src/webgl/lightsetting/planner-light-setting.ts:50
Parameters:
Name | Type |
---|---|
_inclination | number |
_azimuth | number |
Returns: void