Skip to main content

Interface: IblEstimated

Defined in: packages/webxr-environment/src/environment.ts:181

The reflections the HOST measured from the real room.

This is a marker, not data, and that is the point. WebXR's light estimation produces a reflection cube map, which is a live texture on a GPU - it cannot be a src string or a pair of colours without stopping being what it is. So the app says "use what you measured", the adapter that measured it applies it, and the environment document stays plain data with one honest hole in it rather than pretending a texture is a value.

Only an adapter that can actually measure one produces this; the others report ibl as unsupported and leave the slot alone. It normally arrives on its own, through setLightEstimation({ ibl: true }), but an app may also ask for it directly.

Properties

PropertyModifierTypeDefined in
intensity?readonlynumberpackages/webxr-environment/src/environment.ts:183
kindreadonly"estimated"packages/webxr-environment/src/environment.ts:182
rotationY?readonlynumberpackages/webxr-environment/src/environment.ts:184