An entity alias redirects the spawning of an entity to another entity, possibly in another spawnable. More...
#include <Spawnable.h>
Public Member Functions | |
AZ_CLASS_ALLOCATOR (EntityAlias, AZ::SystemAllocator) | |
AZ_TYPE_INFO (AzFramework::Spawnable::EntityAlias, "{C8D0C5BC-1F0B-4572-98C1-73B2CA8C9356}") | |
bool | HasLowerIndex (const EntityAlias &other) const |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZ::Data::Asset< Spawnable > | m_spawnable |
The spawnable containing the target entity to spawn. | |
uint32_t | m_tag { 0 } |
A unique tag to identify this alias with. | |
uint32_t | m_sourceIndex { 0 } |
The index of the entity in the original spawnable that will be replaced. | |
uint32_t | m_targetIndex { 0 } |
The index of the entity in the target spawnable that will be used to replace the original. | |
EntityAliasType | m_aliasType { EntityAliasType::Original } |
The kind of replacement. | |
bool | m_queueLoad { false } |
Whether or not to automatically queue the spawnable for loading. | |
An entity alias redirects the spawning of an entity to another entity, possibly in another spawnable.