![]() |
ezEngine Release 25.08
|
Public Types | |
| enum class | RandomSeedMode { DeterministicFromParent , CompletelyRandom , FixedFromSerialization , CustomRootValue } |
Public Attributes | |
| ezGameObjectHandle | m_hParent |
| ezDynamicArray< ezGameObject * > * | m_pCreatedRootObjectsOut = nullptr |
| ezDynamicArray< ezGameObject * > * | m_pCreatedChildObjectsOut = nullptr |
| const ezUInt16 * | m_pOverrideTeamID = nullptr |
| bool | m_bForceDynamic = false |
| ezTempHashedString | m_ReplaceNamedRootWithParent |
| If the prefab has a single root node with this non-empty name, rather than creating a new object, instead the m_hParent object is used. | |
| RandomSeedMode | m_RandomSeedMode = RandomSeedMode::DeterministicFromParent |
| ezUInt32 | m_uiCustomRandomSeedRootValue = 0 |
| ezTime | m_MaxStepTime = ezTime::MakeZero() |
| ezProgress * | m_pProgress = nullptr |
|
strong |
| Enumerator | |
|---|---|
| DeterministicFromParent | ezWorld::CreateObject() will either derive a deterministic value from the parent object, or assign a random value, if no parent exists |
| CompletelyRandom | ezWorld::CreateObject() will assign a random value to this object |
| FixedFromSerialization | Keep deserialized random seed value. |
| CustomRootValue | Use the given seed root value to assign a deterministic (but different) value to each game object. |