VoxelTerrainData
Defined in: sdk/src/voxel/voxelPlugin.ts:31
The fields of the VoxelTerrain component.
Properties
Section titled “Properties”castShadows
Section titled “castShadows”castShadows:
boolean
Defined in: sdk/src/voxel/voxelPlugin.ts:49
caveScale
Section titled “caveScale”caveScale:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:44
caveWidth
Section titled “caveWidth”caveWidth:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:43
cellSize
Section titled “cellSize”cellSize:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:33
The side of a cell, in world units: the finest thing the ground can show.
chunkCells
Section titled “chunkCells”chunkCells:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:35
How many cells a chunk has a side: what one edit makes again at the least.
collision
Section titled “collision”collision:
boolean
Defined in: sdk/src/voxel/voxelPlugin.ts:51
Whether 3D bodies and characters collide with it.
collisionDistance
Section titled “collisionDistance”collisionDistance:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:53
How far round each moving body and character it is built for collision.
collisionLayer
Section titled “collisionLayer”collisionLayer:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:54
color0
Section titled “color0”color0:
Color
Defined in: sdk/src/voxel/voxelPlugin.ts:58
color1
Section titled “color1”color1:
Color
Defined in: sdk/src/voxel/voxelPlugin.ts:59
color2
Section titled “color2”color2:
Color
Defined in: sdk/src/voxel/voxelPlugin.ts:60
color3
Section titled “color3”color3:
Color
Defined in: sdk/src/voxel/voxelPlugin.ts:61
drawDistance
Section titled “drawDistance”drawDistance:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:48
How far from the eye it is drawn, in world units.
friction
Section titled “friction”friction:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:55
hillHeight
Section titled “hillHeight”hillHeight:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:41
hillScale
Section titled “hillScale”hillScale:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:42
map0:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:62
map1:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:63
map2:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:64
map3:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:65
material
Section titled “material”material:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:57
A material on the Voxel Ground shader, or 0 for the stock one with the colours and pictures below.
maxY:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:38
minY:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:37
How far down and up the volume goes from the entity. It is closed at both ends.
oreAmount
Section titled “oreAmount”oreAmount:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:46
seed:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:39
soilDepth
Section titled “soilDepth”soilDepth:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:45
surfaceHeight
Section titled “surfaceHeight”surfaceHeight:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:40
tile:
number
Defined in: sdk/src/voxel/voxelPlugin.ts:67
How long one repeat of the pictures is in the world.