Interface: XBLightingLike
Defined in: xrblocks-environment/src/xrblocks.ts:76
xb.core.lighting.
ambientLight is the DC band of the estimated probe, which XR Blocks copies
out of lightProbe.sh.coefficients[0] every frame - the same three numbers
WebXR hands back, so the same conversion applies.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
ambientLight? | readonly | Vec3Like | xrblocks-environment/src/xrblocks.ts:83 |
ambientProbe? | readonly | { intensity: number; } | xrblocks-environment/src/xrblocks.ts:84 |
ambientProbe.intensity | readonly | number | xrblocks-environment/src/xrblocks.ts:84 |
dirLight? | readonly | { color: ColourLike; intensity: number; position: Vec3Like; } | xrblocks-environment/src/xrblocks.ts:78 |
dirLight.color | readonly | ColourLike | xrblocks-environment/src/xrblocks.ts:79 |
dirLight.intensity | readonly | number | xrblocks-environment/src/xrblocks.ts:80 |
dirLight.position | readonly | Vec3Like | xrblocks-environment/src/xrblocks.ts:81 |
options? | readonly | XBLightingOptionsLike | xrblocks-environment/src/xrblocks.ts:77 |