Toast Engine
Loading...
Searching...
No Matches
physics::VoxelShapeData Struct Reference
Collaboration diagram for physics::VoxelShapeData:

Public Attributes

voxel::Volume * volume = nullptr
voxel::VolumeSurface surface
voxel::MassMoments moments
voxel::Palette palette
voxel::MaterialLibrary materials
uint64_t palette_uid = 0
 Source palette uid so a hot reload can refresh the copies above.
uint32_t source_revision = 0
uint32_t surface_revision = 1
uint32_t solid_voxel_count = 0
AnchorMask anchor_mask = k_anchor_null
bool connectivity_dirty = false
std::optional< FragmentPush > pending_push
std::vector< DetachedComponent > detached_components
std::unique_ptr< voxel::Volume > owned_volume
BodyID fragment_origin
uint64_t fragment_sequence = 0
float fragment_sleep_seconds = 0.0f

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