LightSettings Class

Describes the lighting for a 3d scene, associated with a DisplayStyle3dSettings in turn associated with a DisplayStyle3d or DisplayStyle3dState.

see LightSettingsProps

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    
hemisphere Readonly HemisphereLights    
numCels Readonly number    
portraitIntensity Readonly number    
solar Readonly SolarLight    
specularIntensity Readonly number    

Defined in

Last Updated: 29 November, 2022