Skip to content

SeeThroughThing beta ​

Interface of @v12-engine/client

ts
export interface SeeThroughThing

A thing that can stand in the way (client.seeThrough.occluders): a tree or mine (an entity), a doodad, a building; where it stands, how far round it reaches and how high, and how faded it is now, 0 not at all to 1 fully

Members ​

base ​

ts
readonly base: number;

Its foot and its top, in world units

fade ​

ts
readonly fade: number;

How faded it is now: 0 not at all, 1 fully

id ​

ts
readonly id: number;

The entity's id, or the doodad's (MapDoodad.id)

kind ​

ts
readonly kind: 'tree' | 'doodad' | 'building';

What it is: a tree or mine, a doodad, a building

radius ​

ts
readonly radius: number;

How far round it reaches, in world units

top ​

ts
readonly top: number;

Its top, in world units

x ​

ts
readonly x: number;

Where it stands, in world units

z ​

ts
readonly z: number;

Where it stands, in world units