ezEngine Release 26.9
Loading...
Searching...
No Matches
ezPhysicsWorldModuleInterface::HeightfieldColliderData Struct Reference

Data for creating a heightfield collider. More...

#include <PhysicsWorldModule.h>

Public Attributes

ezVec2 m_vHalfExtents
 
ezUInt32 m_uiResolution = 64
 
ezDynamicArray< float > m_Heights
 Height samples in row-major order, m_uiResolution * m_uiResolution entries.
 
ezDynamicArray< ezUInt8 > m_MaterialIndices
 Per-cell material indices (one per quad, (m_uiResolution-1)^2 entries). Indexes into m_Surfaces.
 
ezDynamicArray< ezSurfaceResourceHandlem_Surfaces
 
ezUInt8 m_uiCollisionLayer = 0
 

Detailed Description

Data for creating a heightfield collider.


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