Skip to main content

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

function AmbientLightProbe( color: Color, intensity: Float ): void;  

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

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

src/lights/AmbientLightProbe.js