Voxel Renderer
A component that lets you draw voxels.
Check out the Getting Started page to see how to use this component.
Properties
Voxel Types used by this renderer.
Controls the shadow casting mode of this renderer.
Controls the rendering layers used by this renderer.
The mesh built for rendering.
The mesh built for collisions.
The VoxelArray used by this renderer.
The current status of the renderer.
Events
Called when the renderer finishes building a mesh.
Methods
Builds a mesh by transforming the provided VoxelArray into an optimized mesh. The mesh will be drawn by the renderer when the process is completed.
If useMultithreading
is true, the meshing algorithm runs on a different thread, improving performance. However, this option can add some delay, so use it only if you don't need the result immediately.
Last updated