reckfellENGINE

VoxelDataBlockEnterInfo

Information sent by a terrain when one of its data blocks enters the area of a VoxelViewer.

On this page
class VoxelDataBlockEnterInfoReckfellSharpInherits ReckfellObject

Information sent by a terrain when one of its data blocks enters the area of a VoxelViewer.

Information sent by a terrain when one of its data blocks enters the area of a VoxelViewer. See VoxelTerrain._OnDataBlockEntered. Instances of this class must not be stored, as they will become invalid after the call they come from.

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

Constructors1

VoxelDataBlockEnterInfoConstructor
# VoxelDataBlockEnterInfo
C#
public VoxelDataBlockEnterInfo();

Methods5

AreVoxelsEditedbool
# AreVoxelsEdited
C#
public bool AreVoxelsEdited();

Tells if voxels in the block have ever been edited. If not, it means the same data can be obtained by running the generator.

Returns bool
GetLodIndexint
# GetLodIndex
C#
public int GetLodIndex();

Gets which LOD index the data block is in.

Returns int
GetNetworkPeerIdint
# GetNetworkPeerId
C#
public int GetNetworkPeerId();

Gets the network peer ID of the VoxelViewer who caused the block to be referenced.

Returns int
GetPositionVector3I
# GetPosition
C#
public Vector3I GetPosition();

Gets the position of the data block, in data block coordinates (voxel coordinates are obtained by multiplying these coordinates with data block size).

Returns Vector3I
GetVoxelsVoxelBuffer
# GetVoxels
C#
public VoxelBuffer GetVoxels();

Gets access to the voxels in the block.

Returns VoxelBuffer
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.