FxTrail beta
Interface of @v12-engine/client
export interface FxTrailA trail behind the part as it moves (on a unit, moved with handle.move, going round with orbit): a ribbon of light
Members
blend
blend?: Param<'add' | 'alpha'>;Added to what is behind it (add: light, magic) or laid over it (alpha, when left out)
color
color?: Param<FxColor>;Its colour, with how opaque: white when left out
gap
gap?: Param<number>;A jump farther than this in a frame, in world units (a strand starting again at the bottom, FxOrbit.climb), starts it anew where it jumped to, what was drawn left where it is to fade out (linger): never when left out
linger
linger?: Param<number>;Seconds what it drew before a jump (gap) takes to fade out: a third of a second when left out
soft
soft?: Param<boolean>;Fading to nothing along its length and soft at its edges, rather than a solid tube: no when left out
strength
strength?: Param<FxCurve>;How strong over the part's life (FxCurve), its width and brightness times this: weakening to nothing ([1, 0])
taper
taper?: boolean;Narrowing to its tail (yes when left out) or as wide all along
time
time?: Param<number>;How long it is, in seconds of the way it went, read as it starts: half a second when left out. Kept by time, so as long at 30 frames a second as at 240 (60 points of it a second, at least 2). It was length, in frames: a file's length is read as that many sixtieths of a second
width
width?: Param<number>;How wide, in world units: 0.2 when left out