@luma.gl/engine
Version:
3D Engine Components for luma.gl
23 lines • 732 B
TypeScript
import { Device } from '@luma.gl/core';
import { Timeline } from "../animation/timeline.js";
import type { AnimationLoop } from "./animation-loop.js";
/** Properties passed to every render frame */
export type AnimationProps = {
device: Device;
animationLoop: AnimationLoop;
/** @todo Should be canvasContext */
canvas: HTMLCanvasElement | OffscreenCanvas;
useDevicePixels: number | boolean;
width: number;
height: number;
aspect: number;
time: number;
startTime: number;
engineTime: number;
tick: number;
tock: number;
needsRedraw?: string | false;
timeline: Timeline | null;
_mousePosition?: [number, number] | null;
};
//# sourceMappingURL=animation-props.d.ts.map