Skip to content

LiteSkyView beta ​

Interface of @v12-engine/client

ts
export interface LiteSkyView

A sky of a game's own in code on this renderer, in the place of the client's dome (GameView.lite.sky, the client's SkyView): told what the map says of the sky as it changes (each frame while it is eased into), and every frame

Members ​

dispose ​

ts
dispose(): void;

Takes the sky's batches and materials away

frame ​

ts
frame?(dt: number): void;

Every frame: dt seconds of it (0 while the game is frozen)

set ​

ts
set(environment: MapEnvironment): void;

What the map says of the sky now