Skip to content

WindNow beta ​

Interface of @v12-engine/client

ts
export interface WindNow

The wind as it blows this moment (MapWind, its gusts worked in): which way, as a unit vector on the ground, and how strong, 0 to about 1.3 at the top of a gust of a gale. What the grass, the rain, the snow and a game's own parts move with (CellLayerFrame.wind, WeatherView.frame, client.wind)

Members ​

blowing ​

ts
readonly blowing: boolean;

Whether the map has a wind at all: without one, the grass sways a little as it always has

strength ​

ts
readonly strength: number;

How strong, gusts and all

x ​

ts
readonly x: number;

Where it blows towards, a unit vector on the ground

z ​

ts
readonly z: number;

The other ground axis of the unit vector it blows towards (with x)