Skip to content

FxPickContext beta ​

Interface of @v12-engine/client

ts
export interface FxPickContext

What a game's choice of an effect's detail is told (pick): how far it is, whether it shows, the detail it would have

Members ​

detail ​

ts
detail: number;

The share of its particles it would be drawn with, 0 to 1

distance ​

ts
distance: number;

How far it is from the camera, in cells

fromFocus ​

ts
fromFocus: number;

How far it is from where the camera looks, in cells

onScreen ​

ts
onScreen: boolean;

Whether it is on the screen