Object3DLightLightProbe

AmbientLightProbe

Light probes are an alternative way of adding light to a 3D scene. AmbientLightProbe is the light estimation data of a single ambient light in the scene. For more information about light probes, go to LightProbe.

Constructor

AmbientLightProbe(color : Color, intensity : Float)

color — (optional) An instance of Color, string representing a color or a number representing a color.
intensity — (optional) Numeric value of the light probe's intensity. Default is 1.

Creates a new AmbientLightProbe.

Properties

See the base LightProbe class for common properties.

.isAmbientLightProbe : Boolean

Read-only flag to check if a given object is of type AmbientLightProbe.

Methods

See the base LightProbe class for common methods.

Source

For more info on how to obtain the source code of this module see this page.