BasinMap
此内容尚不支持你的语言。
Defined in: sdk/src/water/basins.ts:32
Properties
Section titled “Properties”accumulation
Section titled “accumulation”accumulation:
Float32Array
Defined in: sdk/src/water/basins.ts:40
How many texels drain through each, itself included.
basin:
Int32Array
Defined in: sdk/src/water/basins.ts:42
The basin each texel is in, or -1.
basins
Section titled “basins”basins:
Basin[]
Defined in: sdk/src/water/basins.ts:45
downstream
Section titled “downstream”downstream:
Int32Array
Defined in: sdk/src/water/basins.ts:38
The texel each one drains to; -1 at the edge, where water leaves the region.
filled
Section titled “filled”filled:
Float32Array
Defined in: sdk/src/water/basins.ts:36
grid:
ZoneGrid
Defined in: sdk/src/water/basins.ts:33
ground
Section titled “ground”ground:
Float32Array
Defined in: sdk/src/water/basins.ts:35
The ground’s height per texel (row by row from minZ), and the height water would fill it to.
sea:
Uint8Array
Defined in: sdk/src/water/basins.ts:44
1 where the ground is the sea’s (with a sea level).