UnitHudPlate beta
Interface of @v12-engine/client
ts
export interface UnitHudPlateA plate of a unit's HUD: widgets in a column over its head, when it shows, and among a def's plates when it is the one
Members
gap
ts
gap?: number;Pixels between them. 2 when left out
items
ts
items: Widget[];Widgets one over the other, the first at the top
lift
ts
lift?: number;Pixels above the unit's head where the plate's bottom is. 4 when left out
show
ts
show?: Value<UnitHudShow | boolean>;When the plate shows; always when left out
when
ts
when?: UnitHudWhen;Among a def's plates (UnitHudDef.plates), when this one is the one: the first whose when holds is drawn. Always when left out