VoxelEngine
 
Loading...
Searching...
No Matches
engine::ChunkBeforeLoadEvent Struct Reference
Inheritance diagram for engine::ChunkBeforeLoadEvent:
engine::Event

Public Member Functions

 ChunkBeforeLoadEvent (std::shared_ptr< Chunk > _chunk)
 

Public Attributes

std::shared_ptr< Chunkchunk
 The chunk that is about to be loaded.
 

Member Data Documentation

◆ chunk

std::shared_ptr<Chunk> engine::ChunkBeforeLoadEvent::chunk

The chunk that is about to be loaded.

Note
Set the chunk->data().populated to true to skip terrain population from generator (eg. for chunk serialization)

The documentation for this struct was generated from the following file: