struct

VoxelChunkMeshComponent

A voxel chunk drawn from the shared voxel vertex pool (FVoxelMesh, 8 bytes a vertex). The mesh holds chunk-local voxel coordinates; the entity's transform is the chunk origin, and lodScale multiplies the voxel size so a coarser LOD of the same chunk covers the same volume with the same data. Casts into the sun's cascades; local-light shadows and translucent layers are not drawn through this path.

Module
SceneTypes
Header
#include "SceneTypes/Components/VoxelChunkMeshComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
Ref<FVoxelMesh>mesh
Ref<FVoxelMesh>pendingMeshA freshly built mesh replaces mesh the frame its upload finishes; until then the old one keeps drawing, so a remeshed chunk never blinks out.
Ref<Texture2D>atlas
floatvoxelSizeDefault 0.25f.
floatlodScaleDefault 1.0f.
Vec3tintDefault Vec3(1.0f, 1.0f, 1.0f).
floatroughnessDefault 0.9f.
int32_tatlasTilesPerRowDefault 16.
uint32_tlightChannelsDefault 1.
boolcastShadowsDefault true.
boolreceiveShadowsDefault true.

Constructors

SignatureNameDescription
VoxelChunkMeshComponent() = defaultVoxelChunkMeshComponent

Function details

VoxelChunkMeshComponent

C++
VoxelChunkMeshComponent() = default
Generated from SceneTypes/Components/VoxelChunkMeshComponent.h via scenetypes.json · Nov 4, 2026Version 1.0.0