![]() |
XII Release 0.1.0
|
Sent by xiiWorldGeoExtractionUtil to gather geometry information about objects in a world. More...
#include <WorldGeoExtractionUtil.h>
Public Member Functions | |
XII_DECLARE_MESSAGE_TYPE (xiiMsgExtractGeometry, xiiMessage) | |
void | AddMeshObject (const xiiTransform &transform, xiiCpuMeshResourceHandle hMeshResource) |
void | AddBox (const xiiTransform &transform, xiiVec3 vExtents) |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
xiiWorldGeoExtractionUtil::ExtractionMode | m_Mode = xiiWorldGeoExtractionUtil::ExtractionMode::RenderMesh |
Specifies what the geometry is extracted for, and thus what the message handler should write back. | |
xiiWorldGeoExtractionUtil::MeshObjectList * | m_pMeshObjects = nullptr |
Append mesh objects to this to describe the requested world geometry. | |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
Sent by xiiWorldGeoExtractionUtil 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.