Skip to main content

Interface: XrLightEstimateLike

Defined in: threejs-environment/src/xr.ts:29

One XRLightEstimate. The three products WebXR's light estimation makes.

Properties

PropertyModifierTypeDescriptionDefined in
primaryLightDirection?readonly{ x: number; y: number; z: number; }Points TOWARD the brightest light.threejs-environment/src/xr.ts:33
primaryLightDirection.xreadonlynumber-threejs-environment/src/xr.ts:34
primaryLightDirection.yreadonlynumber-threejs-environment/src/xr.ts:34
primaryLightDirection.zreadonlynumber-threejs-environment/src/xr.ts:34
primaryLightIntensity?readonly{ x: number; y: number; z: number; }Linear RGB, unbounded.threejs-environment/src/xr.ts:37
primaryLightIntensity.xreadonlynumber-threejs-environment/src/xr.ts:38
primaryLightIntensity.yreadonlynumber-threejs-environment/src/xr.ts:38
primaryLightIntensity.zreadonlynumber-threejs-environment/src/xr.ts:38
sphericalHarmonicsCoefficients?readonlyArrayLike<number>27 floats, 9 coefficients of 3 channels. Only the first 3 are read here.threejs-environment/src/xr.ts:31