![]() |
XII Release 0.1.0
|
Internal flags of game objects or components. More...
#include <Declarations.h>
Classes | |
struct | Bits |
Public Types | |
enum | Enum { None = 0 , Dynamic = XII_BIT(0) , ForceDynamic = XII_BIT(1) , ActiveFlag = XII_BIT(2) , ActiveState = XII_BIT(3) , Initialized = XII_BIT(4) , Initializing = XII_BIT(5) , SimulationStarted = XII_BIT(6) , SimulationStarting = XII_BIT(7) , UnhandledMessageHandler = XII_BIT(8) , ChildChangesNotifications = XII_BIT(9) , ComponentChangesNotifications = XII_BIT(10) , StaticTransformChangesNotifications = XII_BIT(11) , ParentChangesNotifications = XII_BIT(12) , CreatedByPrefab = XII_BIT(13) , UserFlag0 = XII_BIT(24) , UserFlag1 = XII_BIT(25) , UserFlag2 = XII_BIT(26) , UserFlag3 = XII_BIT(27) , UserFlag4 = XII_BIT(28) , UserFlag5 = XII_BIT(29) , UserFlag6 = XII_BIT(30) , UserFlag7 = XII_BIT(31) , Default = None } |
using | StorageType = xiiUInt32 |
Internal flags of game objects or components.
enum xiiObjectFlags::Enum |
Enumerator | |
---|---|
Dynamic | Usually detected automatically. A dynamic object will not cache render data across frames. |
ForceDynamic | Set by the user to enforce the 'Dynamic' mode. Necessary when user code (or scripts) should change objects, and the automatic detection cannot know that. |
ActiveFlag | The object/component has the 'active flag' set. |
ActiveState | The object/component and all its parents have the active flag. |
Initialized | The object/component has been initialized. |
Initializing | The object/component is currently initializing. Used to prevent recursions during initialization. |
SimulationStarted | OnSimulationStarted() has been called on the component. |
SimulationStarting | Used to prevent recursion during OnSimulationStarted() |
UnhandledMessageHandler | For components, when a message is not handled, a virtual function is called. |
ChildChangesNotifications | The object should send a notification message when children are added or removed. |
ComponentChangesNotifications | The object should send a notification message when components are added or removed. |
StaticTransformChangesNotifications | The object should send a notification message if it is static and its transform changes. |
ParentChangesNotifications | The object should send a notification message when the parent is changes. |
CreatedByPrefab | Such flagged objects and components are ignored during scene export (see xiiWorldWriter) and will be removed when a prefab needs to be re-instantiated. |