@modoki/engine / index / LightSample
Interface: LightSample
Plain-data snapshot of one scene light (Light trait + its world transform). x/y/z = world position; rx/ry = world Euler used to derive a directional light's aim (rz is ignored, matching syncLights).
Rendering
color
color:
number
distance
distance:
number
intensity
intensity:
number
lightType
lightType:
"point"|"directional"|"ambient"|"spot"
rx
rx:
number
ry
ry:
number
x
x:
number
y
y:
number
z
z:
number