Skip to content

KitLook beta ​

Interface of @v12-engine/client

ts
export interface KitLook

How every copy of a shape is drawn

Members ​

bothSides ​

ts
bothSides?: boolean;

Both of its sides drawn (backFaceCulling off): a flat shape seen from either side

capacity ​

ts
capacity?: number;

How many copies it holds from the start (16): made again twice as long where that fills

casts ​

ts
casts?: boolean;

Whether its copies throw the sun's shadow (false; never where unlit or seenThrough)

overAll ​

ts
overAll?: boolean;

Drawn whatever is before it (a mark for the player, not a thing of the world: a rise in the ground does not hide it; Babylon's depthFunction ALWAYS). Where seenThrough only

seenThrough ​

ts
seenThrough?: boolean;

Drawn over what is behind it, by each copy's alpha (a material with an alpha under 1)

unlit ​

ts
unlit?: boolean;

Its colour as it is, no light and no shadow on it (Babylon's disableLighting with an emissive colour)