SwingTrailLook beta
Interface of @v12-engine/client
export interface SwingTrailLookA streak behind a melee swing (AttackLook.trail, FeelLook.trails): a ribbon drawn from a point of the model (a hand, a blade's tip) over the moments about the blow
Members
alpha
alpha?: number;How see-through, 0..1: 0.7 when left out
at
at?: string;The point it is drawn from: a point of the model (ModelDef.points) or a node of its file, by name. The right hand of the shared characters (handslot.r) when left out
color
color?: [number, number, number] | 'team';Its colour as red, green, blue (0..1), or team: the colour of the swinger's player, lightened a little, which reads on bright ground where white does not. The feel's (TrailsFeel.color, team) when left out
offset
offset?: [number, number, number];How far from there, in the node's own units: toward a blade's tip
seconds
seconds?: number;How long it trails, in seconds: 0.16 when left out
width
width?: number;How wide, in world units: 0.12 when left out