Skip to content

FxClip beta ​

Interface of @v12-engine/client

ts
export interface FxClip extends Clip

A clip of the effects lane: an effect played at a place or on a unit

Members ​

fx ​

ts
fx: string;

The name of the effect, one of the game's (GameView.fx.defs) or a ready-made one

params ​

ts
params?: Record<string, unknown>;

The effect's knobs, by name

point ​

ts
point?: string;

For an effect on a unit: the point of the unit's model it plays at

scale ​

ts
scale?: number;

How big the effect is, times its own size; 1 when left out

where ​

ts
where: Vec2 | string;

Where it plays: a spot in cells, or a unit by its name