class World
extends WebGLCanvas
import { World } from "https://deno.land/x/caviar@2.6.0/src/World.ts";
Constructors
new
World(params: WorldOptions, scenes: Array<Scene>)Properties
Methods
_draw(): void
_fps(): () => void
_mouseDown(e: any): void
_mouseMotion(e: MouseMotionEvent): void
keyDown(e: WindowKeyboardEvent): boolean
loadPlugin(name: string, plugin: any): void
setBackground(color: string | RGBA): void
setFPS(fps: number): void
setScene(scene: number | string): void
setup(): void
start(): Promise<void>
updateProgramLifeCycle(): void
usePlugin(name: string): any