SEntitySpawnParams

C++
File

IEntity.h

SEntitySpawnParams::bCreatedThroughPool Data Member
C++
bool bCreatedThroughPool;
Description

Entity Pool useage.

SEntitySpawnParams::bIgnoreLock Data Member
C++
bool bIgnoreLock;
Description

Spawn lock.

SEntitySpawnParams::bStaticEntityId Data Member
C++
bool bStaticEntityId;
Notes

To support save games compatible with patched levels (patched levels might use more EntityIDs and save game might conflict with dynamic ones).

SEntitySpawnParams::guid Data Member
C++
Description

Optional entity guid.

SEntitySpawnParams::id Data Member
C++
Description

The Entity unique identifier (EntityId). If 0 then an ID will be generated automatically (based on the bStaticEntityId parameter).

SEntitySpawnParams::nFlags Data Member
C++
uint32 nFlags;
Description

e.g. ENTITY_FLAG_CASTSHADOW

SEntitySpawnParams::nFlagsExtended Data Member
C++
uint32 nFlagsExtended;
Description
SEntitySpawnParams::pArchetype Data Member
C++
IEntityArchetype * pArchetype;
Description

Entity archetype.

SEntitySpawnParams::pClass Data Member
C++
IEntityClass* pClass;
Description

Class of entity.

SEntitySpawnParams::pPropertiesInstanceTable Data Member
C++
IScriptTable * pPropertiesInstanceTable;
SEntitySpawnParams::pPropertiesTable Data Member
C++
IScriptTable * pPropertiesTable;
Description

Optional properties table.

SEntitySpawnParams::prevGuid Data Member
C++
EntityGUID prevGuid;
Description

Previously used entityGuid, in the case of reloading

SEntitySpawnParams::prevId Data Member
C++
EntityId prevId;
Description

Previously used entityId, in the case of reloading

SEntitySpawnParams::pUserData Data Member
C++
void* pUserData;
Description

Any user defined data. It will be available for container when it will be created.

SEntitySpawnParams::qRotation Data Member
C++
Quat qRotation;
Description

Initial entity rotation (Local space).

SEntitySpawnParams::sLayerName Data Member
C++
const char * sLayerName;
Description

The name of the layer the entity resides in, when in the Editor.

SEntitySpawnParams::sName Data Member
C++
const char* sName;
Notes

The name of the entity... does not need to be unique.

SEntitySpawnParams::vPosition Data Member
C++
Vec3 vPosition;
Description

Initial entity position (Local space).

SEntitySpawnParams::vScale Data Member
C++
Vec3 vScale;
Description

Initial entity scale (Local space).

SEntitySpawnParams::SEntitySpawnParams Constructor
C++
SEntitySpawnParams();