Skip to content

WorldLayer beta ​

TypeAlias of @v12-engine/client

ts
export type WorldLayer<Look, Part> = Look | ((part: Part) => void | (() => void));

A part of the scene as a game's view says it (GameView.world: its glow, shadows, lights, picture...): its look as data, or code given the part itself to change as it likes, which gives back what undoes what it did