OutlineLook beta
Interface of @v12-engine/client
export interface OutlineLookA line around a thing's silhouette on the screen, or a glow past its edges (kit.outline, GameView.units.hover, select and target): as wide wherever it stands and however its model was made, over a unit's own skeleton, a building's copy, a copy of a crowd (drawn with its own skeleton while outlined), a doodad or an item on the ground
Members
color
color?: [number, number, number];Pale gold when left out
pulse
pulse?: number | boolean;Breathes: the line swells from half its width to all of it and back over so many seconds a round (true for 1.2); steady when left out
style
style?: 'line' | 'glow';A line along the edge (line, when left out), or a soft glow out from it (glow: a thing that can be cast on, a pickup)
throughWalls
throughWalls?: boolean;Seen whole where the ground, a wall or another unit stands between the camera and it (a mission's "go here" on a building behind a hill). Left out, the parts hidden are dimmed, which reads the scene's depth: one pass of it more while anything is outlined so
width
width?: number;How wide, in pixels: 2 when left out (a glow's: how far it reaches, 2 too)