reckfellENGINE

VoxelGenerator

Base class to all voxel procedural generators.

On this page
class VoxelGeneratorReckfellSharpInherits Resource

Base class to all voxel procedural generators.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods1

GenerateBlockvoid
# GenerateBlock
C#
public void GenerateBlock(VoxelBuffer outBuffer, Vector3 originInVoxels, int lod);

Generates a block of voxels within the specified world area. out_buffer: Buffer in which voxel data will be generated. It must not be null and must have a non-empty size. origin_in_voxels: Coordinates of the lower corner of the box to generate, relative to LOD0. lod: Level of detail index to use for this block. Some generators might not support LOD, in which case it can be left 0. At LOD 0, each cell of the passed buffer spans 1 space unit. At LOD 1, 2 units. At LOD 2, 4 units, and so on.

Parameters
NameTypeDefault
outBufferVoxelBuffer—
originInVoxelsVector3—
lodint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.