DetailThing beta
Interface of @v12-engine/client
export interface DetailThingA thing the picker looks at (WorldDetail.track): the level it is drawn at, and its target, which its drawer may change (where it is, how tall) as it changes
Members
due
due(): void;Looks at it again on the next frame, its levels worked out again: it moved, or what is said of it changed
level
readonly level: number;The level it is drawn at now, by index: 0 at full
levels
readonly levels: readonly DetailLevel[];Its levels, as everything says: worked out again with WorldDetail.relevel
shadow
readonly shadow: number;The level its shadow is drawn at (DetailLevel.shadow, DetailLook.shadowBias): -1 for none
target
readonly target: DetailTarget;What the thing is, and where: the target the drawer handed to WorldDetail.track
untrack
untrack(): void;No longer looked at
wanted
readonly wanted: number;The level it would be at, could its drawer draw every level: more than level while a level's file is not there
wantedShadow
readonly wantedShadow: number;The level its shadow would be drawn at from the level it wants, could its drawer draw every level