LightSettings Class
Describes the lighting for a 3d scene, associated with a DisplayStyle3dSettings in turn associated with a DisplayStyle3d or DisplayStyle3dState.
Methods
| Name | Description | |
|---|---|---|
| clone(changed?: LightSettingsProps): LightSettings | Create a copy of these light settings, identical except for any properties explicitly specified by changed. |
|
| equals(rhs: LightSettings): boolean | ||
| toJSON(): undefined | LightSettingsProps | ||
| fromJSON(props?: LightSettingsProps): LightSettings Static |
Properties
| Name | Type | Description | |
|---|---|---|---|
| ambient Readonly | AmbientLight | ||
| fresnel Readonly | FresnelSettings | ||
| hemisphere Readonly | HemisphereLights | ||
| numCels Readonly | number | See LightSettingsProps.numCels. | |
| portraitIntensity Readonly | number | See LightSettingsProps.portrait. | |
| solar Readonly | SolarLight | ||
| specularIntensity Readonly | number |
Defined in
- core/common/src/LightSettings.ts Line 426
Last Updated: 30 November, 2023