跳转到内容

WaterfallData

此内容尚不支持你的语言。

Defined in: sdk/src/water/waterfall.ts:33

The fields of the Waterfall component.

across: number

Defined in: sdk/src/water/waterfall.ts:48


flare: number

Defined in: sdk/src/water/waterfall.ts:39

How much wider a sheet is at its foot than at the lip, as a share of its width: 1 is twice as wide.


maxDrop: number

Defined in: sdk/src/water/waterfall.ts:45

How far under the lip a fall that meets nothing ends, in world units.


rows: number

Defined in: sdk/src/water/waterfall.ts:47

Rows down a sheet and cells across it.


sheetGap: number

Defined in: sdk/src/water/waterfall.ts:43

How far apart the sheets leave the lip, in world units.


sheets: number

Defined in: sdk/src/water/waterfall.ts:41

How many sheets, 1 to 5, one behind another along the throw: the middle one whole, the others narrower.


speed: number

Defined in: sdk/src/water/waterfall.ts:37

How fast it leaves the lip, level and along the entity’s forward, in world units a second. Faster throws it further out.


width: number

Defined in: sdk/src/water/waterfall.ts:35

How wide the water is where it leaves the lip, in world units.