Skip to content

VoxelObject

Christian Cuevas edited this page Jan 12, 2021 · 7 revisions

About

VoxelObject, extends MeshInstance, is a makeshift interface class that is not intended to be instanced, it provides a set of properties and virtual methods that normalize objects used to display voxels. You can easily extend and create custom objects used to display voxels by creating classes that extend VoxelObject.

Note: When modifying voxel content within VoxelObjects the mesh won't be updated until update_mesh is called.

VoxelMesh

The most basic voxel visualization object, use for moderate amount of voxels.

Note: VoxelMesh is declared with class_name VoxelMesh, which means that while Voxel-Core is active, you can access VoxelMesh from anywhere without having to load it.

Clone this wiki locally