Global

Methods

ColorCell(props) → {JSX}

Represents each individual color on the color palette.

Parameters:
Name Type Description
props *
Source:
Returns:
Type
JSX

createFlatGround(world, cellX, cellY, cellZ, cellSize, vopt)

Has the cell at the given coordinates form a flat ground out of its voxels.

Parameters:
Name Type Attributes Default Description
world VoxelWorld

The world to spawn flat ground in

cellX number
cellY number
cellZ number
cellSize number

Dimensions of the cell

v number <optional>
1

The type of voxel to spawn.

Source:

Returns JSX with a link to the project's GitHub repo.

Source:
To Do:
  • This component will likely be replaced when a Help dropdown is added. Place the contents into there and remove this component when it is created.
Returns:
Type
JSX