UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

18 lines 648 B
import { TgdContext, TgdContextOptions } from "../../context"; export interface TgdCanvasLandscapeOptions extends TgdContextOptions { canvas?: HTMLCanvasElement; onReady(context: TgdContext): void; } /** * The Landscape displays the orientation of an attached camera. * You can click one of the axis to force the camera to face it. */ export declare class TgdCanvasLandscape { private readonly options; private _canvas; private context; constructor(options: TgdCanvasLandscapeOptions); get canvas(): HTMLCanvasElement | null; set canvas(canvas: HTMLCanvasElement | null); } //# sourceMappingURL=landscape.d.ts.map