LightSettings Class

Beta

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(): LightSettingsProps | undefined    
fromJSON(props?: LightSettingsProps): LightSettings Static    

Properties

Name Type Description
ambient AmbientLight    
hemisphere HemisphereLights    
portraitIntensity number    
solar SolarLight    
specularIntensity number    

Defined in

Last Updated: 03 May, 2020