reckfellENGINE

VoxelStreamScript

Base class for custom streams defined with a script.

On this page
class VoxelStreamScriptReckfellSharpInherits VoxelStream

Base class for custom streams defined with a script.

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

Constructors1

VoxelStreamScriptConstructor
# VoxelStreamScript
C#
public VoxelStreamScript();

Methods3

_GetUsedChannelsMaskint
# _GetUsedChannelsMask
C#
public virtual int _GetUsedChannelsMask();

Tells which channels in VoxelBuffer are supported to save voxel data, in case the stream only saves specific ones.

Returns int
_LoadVoxelBlockint
# _LoadVoxelBlock
C#
public virtual int _LoadVoxelBlock(VoxelBuffer outBuffer, Vector3I positionInBlocks, int lod);

Called when a block of voxels needs to be loaded. Assumes out_buffer always has the same size. Returns VoxelStream.ResultCode.

Parameters
NameTypeDefault
outBufferVoxelBuffer—
positionInBlocksVector3I—
lodint—
Returns int
_SaveVoxelBlockvoid
# _SaveVoxelBlock
C#
public virtual void _SaveVoxelBlock(VoxelBuffer buffer, Vector3I positionInBlocks, int lod);

Called when a block of voxels needs to be saved. Assumes out_buffer always has the same size.

Parameters
NameTypeDefault
bufferVoxelBuffer—
positionInBlocksVector3I—
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.