MapDecal beta
Interface of @v12-engine/client
export interface MapDecalA mark laid on the ground at a place of the map: a scorch, blood, the ruts of a road, a rune. A picture projected on the ground as it is there, up and down its slopes, turned, sized, tinted and faded. Only drawn: nothing of it reaches the rules
Members
facing
facing?: number;Turned around the up axis, in radians, the way facings turn: not at all when left out
fade
fade?: number;How faded it is, 0 (as drawn) to 1 (gone): an old scorch, a worn rune. 0 when left out
id
id: number;Its id among the map's of its kind: what the editor finds it by, kept as it is moved and as others come and go
look
look: string;What it is: a decal look of the game's by its id (GameView.ground.decals), or a picture by its path in textures/ (the map's own files first, see Assets), drawn as it is
name
name?: string;What the editor and its search call it, where it is given a name
size
size?: number;How wide it is, in cells: its look's (2) when left out
tint
tint?: Rgb;A colour its picture is multiplied by, over its look's: as it is (white) when left out
x
x: number;The decal's x position in cells
z
z: number;The decal's z position in cells