WaveParams
Defined in: sdk/src/water/waves.ts:28
What shapes the waves: a WaterZone’s and its bodies’ heights, and the parameters of the Water material they are written to.
Properties
Section titled “Properties”count?
Section titled “count?”
optionalcount?:number
Defined in: sdk/src/water/waves.ts:38
How many of the set’s waves are summed, 1 to 4 (the quality level’s); all of them when absent.
direction
Section titled “direction”direction:
number
Defined in: sdk/src/water/waves.ts:36
The base heading, in degrees.
height
Section titled “height”height:
number
Defined in: sdk/src/water/waves.ts:30
Height of the tallest wave, in world units.
length
Section titled “length”length:
number
Defined in: sdk/src/water/waves.ts:32
Length of the longest wave.
speed:
number
Defined in: sdk/src/water/waves.ts:34
A multiplier on how fast they travel.