AmbientLight Class

Describes the ambient light associated with a LightSettings.

see AmbientLightProps

Methods

Name Description
constructor(json?: AmbientLightProps): AmbientLight    
clone(changed?: AmbientLightProps): AmbientLight Create a copy of this light, identical except for any properties explicitly specified by changed.  
equals(rhs: AmbientLight): boolean    
toJSON(): undefined | AmbientLightProps    

Properties

Name Type Description
color Readonly RgbColor    
intensity Readonly number    

Defined in

Last Updated: 20 June, 2023