![]() |
ezEngine
Release 25.03
|
Sent by ezWorldGeoExtractionUtil to gather geometry information about objects in a world. More...
#include <WorldGeoExtractionUtil.h>
Public Member Functions | |
EZ_DECLARE_MESSAGE_TYPE (ezMsgExtractGeometry, ezMessage) | |
void | AddMeshObject (const ezTransform &transform, ezCpuMeshResourceHandle hMeshResource) |
void | AddBox (const ezTransform &transform, ezVec3 vExtents) |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
ezWorldGeoExtractionUtil::ExtractionMode | m_Mode = ezWorldGeoExtractionUtil::ExtractionMode::RenderMesh |
Specifies what the geometry is extracted for, and thus what the message handler should write back. | |
ezWorldGeoExtractionUtil::MeshObjectList * | m_pMeshObjects = nullptr |
Append mesh objects to this to describe the requested world geometry. | |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
Sent by ezWorldGeoExtractionUtil to gather geometry information about objects in a world.
The mode defines what the geometry is needed for, thus components should decide to participate or not and how detailed the geometry is they return.