Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::Spawnable::EntityAlias Struct Reference

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< Spawnablem_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.
 

Detailed Description

An entity alias redirects the spawning of an entity to another entity, possibly in another spawnable.


The documentation for this struct was generated from the following file: