跳转到内容

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.

optional count?: 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: number

Defined in: sdk/src/water/waves.ts:36

The base heading, in degrees.


height: number

Defined in: sdk/src/water/waves.ts:30

Height of the tallest wave, in world units.


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.