Skip to content

drainPath

drainPath(map, x, z): object[]

Defined in: sdk/src/water/basins.ts:207

The path water takes from (x, z) down the drainage, texel by texel, to the region’s edge: a river’s course, as world points.

BasinMap

number

number

object[]