Skip to content

FoliageRotation beta ​

Interface of @v12-engine/client

ts
export interface FoliageRotation

Which way grass and bushes are turned and lean (FoliageLook.rotation)

Members ​

faceWind ​

ts
faceWind?: number;

How far it turns to face downwind, 0 (not at all) to 1: 0 when left out

lean ​

ts
lean?: FoliageRange;

How far it leans, in degrees: at most, or between two. 0 for the grass, 6 for models, when left out. The old tilt

leanTo ​

ts
leanTo?: 'random' | 'wind' | number;

Which way it leans: each its own (random, when left out), downwind (wind), or degrees around from north as the wind's

upright ​

ts
upright?: boolean;

Whether it stands upright on a slope (when left out), or at right angles to the ground under it

yaw ​

ts
yaw?: FoliageRange;

How it is turned about, in degrees: one way for all, or each its own between two. [0, 360] when left out