![]() |
Plasma Engine
2.0
|
Public Types | |
enum class | RandomSeedMode { DeterministicFromParent , CompletelyRandom , FixedFromSerialization , CustomRootValue } |
Public Attributes | |
plGameObjectHandle | m_hParent |
plDynamicArray< plGameObject * > * | m_pCreatedRootObjectsOut = nullptr |
plDynamicArray< plGameObject * > * | m_pCreatedChildObjectsOut = nullptr |
const plUInt16 * | m_pOverrideTeamID = nullptr |
bool | m_bForceDynamic = false |
plTempHashedString | 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 |
plUInt32 | m_uiCustomRandomSeedRootValue = 0 |
plTime | m_MaxStepTime = plTime::MakeZero() |
plProgress * | m_pProgress = nullptr |
|
strong |
Enumerator | |
---|---|
DeterministicFromParent | plWorld::CreateObject() will either derive a deterministic value from the parent object, or assign a random value, if no parent exists |
CompletelyRandom | plWorld::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. |