ezEngine Release 26.9
Loading...
Searching...
No Matches
ezDocumentObjectMetaData Class Reference

Stores meta data for document objects, such as prefab information and visibility in the editor. More...

#include <Document.h>

Inheritance diagram for ezDocumentObjectMetaData:

Public Types

enum  ModifiedFlags : unsigned int { HiddenFlag = EZ_BIT(0) , PrefabFlag = EZ_BIT(1) , ActiveParentFlag = EZ_BIT(2) , AllFlags = 0xFFFFFFFF }
 

Public Attributes

bool m_bHidden = false
 Whether the object should be rendered in the editor view (no effect on the runtime)
 
ezUuid m_CreateFromPrefab
 The asset GUID of the prefab from which this object was created. Invalid GUID, if this is not a prefab instance.
 
ezUuid m_PrefabSeedGuid
 The seed GUID used to remap the object GUIDs from the prefab asset into this instance.
 
ezString m_sBasePrefab
 

Additional Inherited Members

- Public Member Functions inherited from ezReflectedClass
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.
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTI * GetStaticRTTI ()
 

Detailed Description

Stores meta data for document objects, such as prefab information and visibility in the editor.

Member Enumeration Documentation

◆ ModifiedFlags

Enumerator
ActiveParentFlag 

This flag is used to update an entry, even though there is no meta data for it.

Member Data Documentation

◆ m_sBasePrefab

ezString ezDocumentObjectMetaData::m_sBasePrefab

The prefab from which this instance was created as complete DDL text (this describes the entire object!). Necessary for three-way-merging the prefab instances.


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