ezEngine  Milestone 9
ezMsgExtractGeometry Struct Reference

Sent by ezWorldGeoExtractionUtil to gather geometry information about objects in a world. More...

#include <WorldGeoExtractionUtil.h>

Inheritance diagram for ezMsgExtractGeometry:

Public Member Functions

 EZ_DECLARE_MESSAGE_TYPE (ezMsgExtractGeometry, ezMessage)
 
- Public Member Functions inherited from ezMessage
virtual ezInt32 GetSortingKey () const
 Derived message types can override this method to influence sorting order. Smaller keys are processed first.
 
EZ_ALWAYS_INLINE ezMessageId GetId () const
 Returns the id for this message type.
 
EZ_ALWAYS_INLINE ezUInt16 GetSize () const
 Returns the size in byte of this message.
 
EZ_ALWAYS_INLINE ezUInt32 GetHash () const
 Calculates a hash of the message.
 
virtual void Serialize (ezStreamWriter &stream) const
 Implement this for efficient transmission across process boundaries (e.g. network transfer etc.) More...
 
virtual void Deserialize (ezStreamReader &stream, ezUInt8 uiTypeVersion)
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
EZ_ALWAYS_INLINE 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::Geometrym_pWorldGeometry = nullptr
 Append data to this to describe the requested world geometry.
 

Additional Inherited Members

- Static Public Member Functions inherited from ezMessage
static void PackageForTransfer (const ezMessage &msg, ezStreamWriter &stream)
 Writes msg to stream in such a way that ReplicatePackedMessage() can restore it even in another process. More...
 
static ezUniquePtr< ezMessageReplicatePackedMessage (ezStreamReader &stream)
 Restores a message that was written by PackageForTransfer() More...
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Static Protected Member Functions inherited from ezMessage
static EZ_ALWAYS_INLINE ezMessageId GetNextMsgId ()
 
- Protected Attributes inherited from ezMessage
ezMessageId m_Id
 
ezUInt16 m_uiSize
 
- Static Protected Attributes inherited from ezMessage
static ezMessageId s_uiNextMsgId = 0
 

Detailed Description

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.


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