Class: VoxelGenerator
This page documents the methods and fields available in the VoxelGenerator class.
Members
| Signature | Description |
|---|---|
beforeChunkBuild(GameObject, VoxelChunk) | Performs the beforeChunkBuild operation using the provided parameters (gameObject, voxelChunk). |
beforeChunkBuild(GameObject, VoxelChunk) | Performs the beforeChunkBuild operation using the provided parameters (gameObject, voxelChunk). |
drawFace(int, int, int) | Renders the object to the current context. |
drawFace(int, int, int, Point3) | Renders the object to the current context. |
drawFace(int, int, int, Point3) | Renders the object to the current context. |
getBlockType(int, int, int, int) | Returns the current block type. |
getBlockType(int, int, int, int) | Returns the current block type. |
getGroundHeight(int, int) | Returns the current ground height. |
getGroundHeight(int, int) | Returns the current ground height. |
getTextureIndex(int, int, int) | Returns the current texture index. |
getTextureIndex(int, int, int) | Returns the current texture index. |
loadChunk(int, int) | Loads chunk into the object. |
loadChunk(int, int) | Loads chunk into the object. |
onChunkBuilt(GameObject, VoxelChunk) | Performs the onChunkBuilt operation using the provided parameters (object, chunk). |
onChunkBuilt(GameObject, VoxelChunk) | Performs the onChunkBuilt operation using the provided parameters (object, chunk). |
onChunkCreated(GameObject, VoxelChunk) | Performs the onChunkCreated operation using the provided parameters (object, chunk). |
onChunkCreated(GameObject, VoxelChunk) | Performs the onChunkCreated operation using the provided parameters (object, chunk). |
onFaceBuilt(GameObject, VoxelChunk, int, int, int, Point3, int, int, int, int) | Performs the onFaceBuilt operation using the provided parameters (object, chunk, blockType, forwardDir, face, coords, v0i, v1i, v2i, v3i). |
onFaceBuilt(GameObject, VoxelChunk, int, int, int, Point3, int, int, int, int) | Performs the onFaceBuilt operation using the provided parameters (object, chunk, blockType, forwardDir, face, coords, v0i, v1i, v2i, v3i). |
removeListener() | Removes listener from the collection. |
run() | Performs the run operation. |
run() | Performs the run operation. |
setListener(Component) | Sets or updates the listener. |
storeChunk(OH3LevelIntArray, int, int) | Performs the storeChunk operation using the provided parameters (chunk, x, z). |
storeChunk(OH3LevelIntArray, int, int) | Performs the storeChunk operation using the provided parameters (chunk, x, z). |