Skip to content

TrailDef beta ​

Interface of @v12-engine/client

ts
export interface TrailDef

Sparks something that flies leaves behind: how many in a second, and what colours

Members ​

color ​

ts
color: [number, number, number];

The sparks' colour as red, green, blue (0..1)

count ​

ts
count: number;

How many sparks there are in a second

tint ​

ts
tint?: [number, number, number];

A second colour mixed into the sparks; none when left out