PlanetRegion
此内容尚不支持你的语言。
Defined in: sdk/src/terrain/planetProvider.ts:21
What a provider is asked to sample: a list of unit directions from the planet’s centre.
Properties
Section titled “Properties”count:
number
Defined in: sdk/src/terrain/planetProvider.ts:31
directions
Section titled “directions”directions:
Float32Array
Defined in: sdk/src/terrain/planetProvider.ts:30
count unit directions, x, y, z one after the other.
radius
Section titled “radius”radius:
number
Defined in: sdk/src/terrain/planetProvider.ts:28
The planet’s radius in metres: a provider reasons in metres, a direction is only where.
seed:
number
Defined in: sdk/src/terrain/planetProvider.ts:24
version
Section titled “version”version:
number
Defined in: sdk/src/terrain/planetProvider.ts:26
The generator version the planet was made with.
world:
string
Defined in: sdk/src/terrain/planetProvider.ts:23
The world (a planet) the ground belongs to, as the game names it.