Documentation / @ripl/3d / SceneUniformInput
Interface: SceneUniformInput ​
Defined in: 3d/src/core/uniforms.ts:175
Everything the scene uniform needs, independent of any particular backend.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
cameraPosition | Vector3 | The camera's world-space position. | 3d/src/core/uniforms.ts:179 |
fog? | ResolvedFog | null | The resolved fog, or null/omitted for no fog. | 3d/src/core/uniforms.ts:183 |
lights | ResolvedLight[] | The resolved lights, capped at MAX_LIGHTS by the caller. | 3d/src/core/uniforms.ts:181 |
viewProjectionMatrix | ArrayLike<number> | The combined view-projection matrix. | 3d/src/core/uniforms.ts:177 |