PortraitLook
Interface of @v12-engine/client
ts
export interface PortraitLook extends PortraitFramingA unit type's portrait (UnitLook.portrait, looks.json's portrait): its picture, the model its live portrait shows (its own when left out) and how that is framed, lit and played
Members
model
ts
model?: ModelDef;A model of its own for the live portrait (a classic RTS's portrait model): the unit's own when left out
picture
ts
picture?: string;Its picture, by an image's address (or its path in icons/): where a picture is shown (GameView.hud.portraits: 'picture', the heroes' row, a box while its model loads or where it has none). Its icon when left out