Skip to content

FxDecal beta ​

Interface of @v12-engine/client

ts
export interface FxDecal

A mark laid on the ground: a scorch, a crack, a stain. It stays its time after the effect is over

Members ​

color ​

ts
color?: Param<FxColor>;

Its colour, times the texture's: a dark scorch when left out

count ​

ts
count?: Param<number>;

How many are laid, scattered over spread: 1 when left out

fade ​

ts
fade?: number;

Seconds at its end over which it fades: a quarter of its time when left out

fallback ​

ts
fallback?: ParticleTexture;

What it is drawn with where texture's file is not there (ParticleDef.fallback)

size ​

ts
size?: Param<Range>;

How wide, in cells, or between two for each: 2 when left out

spread ​

ts
spread?: Param<number>;

How far from where the effect is they are scattered, in cells: 0 (all at its place) when left out

texture ​

ts
texture?: Param<ParticleTexture>;

What it is drawn with (ParticleTexture): a soft round stain when left out

time ​

ts
time?: Param<number>;

Seconds it lies there: 20 when left out, times the quality's decals

turn ​

ts
turn?: number;

Turned around the up axis, in radians: random when left out