API

Interface IWebXRLightEstimation

An interface describing the result of a light estimation

interface IWebXRLightEstimation {
    lightColor: Color3;
    lightDirection: Vector3;
    lightIntensity: number;
    sphericalHarmonics: SphericalHarmonics;
}
Index
lightColor: Color3

Color of light source

lightDirection: Vector3

The direction from the light source

lightIntensity: number

The intensity of the light source

sphericalHarmonics: SphericalHarmonics

Spherical harmonics coefficients of the light source