Open 3D Engine ScriptCanvasTesting Gem 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.
ScriptCanvasTests::UnitTestEntityContext Class Reference

Inherits AzFramework::EntityIdContextQueryBus::MultiHandler, AzFramework::EntityContextRequestBus::Handler, and AzFramework::SliceEntityOwnershipServiceRequestBus::Handler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (UnitTestEntityContext, AZ::SystemAllocator)
 
AzFramework::EntityContextId GetOwningContextId () override
 
const AzFramework::RootSliceAsset & GetRootAsset () const override
 
AZ::SliceComponent * GetRootSlice () override
 
void SetIsDynamic (bool) override
 
void CancelSliceInstantiation (const AzFramework::SliceInstantiationTicket &) override
 
AzFramework::SliceInstantiationTicket GenerateSliceInstantiationTicket () override
 
bool HandleRootEntityReloadedFromStream (AZ::Entity *, bool, AZ::SliceComponent::EntityIdToEntityIdMap *idRemapTable=nullptr) override
 
const AZ::SliceComponent::EntityIdToEntityIdMap & GetLoadedEntityIdMap () override
 
AZ::SliceComponent::SliceInstanceAddress CloneSliceInstance (AZ::SliceComponent::SliceInstanceAddress, AZ::SliceComponent::EntityIdToEntityIdMap &) override
 
AzFramework::SliceInstantiationTicket InstantiateSlice (const AZ::Data::Asset< AZ::Data::AssetData > &, const AZ::IdUtils::Remapper< AZ::EntityId >::IdMapper &customIdMapper=nullptr, const AZ::Data::AssetFilterCB &assetLoadFilter=nullptr) override
 
AZ::Data::AssetId CurrentlyInstantiatingSlice () override
 
AZ::Entity * CreateEntity (const char *name) override
 
void AddEntity (AZ::Entity *entity) override
 
void ActivateEntity (AZ::EntityId entityId) override
 
void DeactivateEntity (AZ::EntityId entityId) override
 
bool DestroyEntity (AZ::Entity *entity) override
 
bool DestroyEntityById (AZ::EntityId entityId) override
 
AZ::Entity * CloneEntity (const AZ::Entity &sourceEntity) override
 
void ResetContext () override
 
AZ::EntityId FindLoadedEntityIdMapping (const AZ::EntityId &staticId) const override
 
void AddEntity (AZ::EntityId entityId)
 
void RemoveEntity (AZ::EntityId entityId)
 
bool IsOwnedByThisContext (AZ::EntityId entityId)
 

Public Attributes

AZ::SliceComponent::EntityIdToEntityIdMap m_unitTestEntityIdMap
 

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