MCPcopy
hub / github.com/sparkjsdev/spark / FrameUpdateContext

Interface FrameUpdateContext

src/SplatGenerator.ts:253–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251// re-generation of the Gsplats for this SplatGenerator.
252
253export interface FrameUpdateContext {
254 renderer: THREE.WebGLRenderer;
255 object: SplatGenerator;
256 time: number;
257 deltaTime: number;
258 viewToWorld: THREE.Matrix4;
259 camera?: THREE.Camera;
260 renderSize?: THREE.Vector2;
261 globalEdits: SplatEdit[];
262 lodIndices?: { numSplats: number; texture: THREE.DataTexture };
263}
264
265export class SplatGenerator extends THREE.Object3D {
266 numSplats: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected