Open 3D Engine AzCore 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.
AZ::SliceComponent::InstantiatedContainer Struct Reference

#include <SliceComponent.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (InstantiatedContainer, SystemAllocator)
 
 AZ_TYPE_INFO (InstantiatedContainer, "{05038EF7-9EF7-40D8-A29B-503D85B85AF8}")
 
 InstantiatedContainer (bool deleteEntitiesOnDestruction=true)
 
 InstantiatedContainer (SliceComponent *sourceComponent, bool deleteEntitiesOnDestruction=true)
 
void DeleteEntities ()
 
void ClearAndReleaseOwnership ()
 

Public Attributes

EntityList m_entities
 
EntityList m_metadataEntities
 
bool m_deleteEntitiesOnDestruction
 

Detailed Description

Container for instantiated entities (which are not serialized), but build from the source object and deltas DataPatch.

Member Function Documentation

◆ ClearAndReleaseOwnership()

void AZ::SliceComponent::InstantiatedContainer::ClearAndReleaseOwnership ( )

Non-Destructively clears all data.

Note
Only call this when using this type as a temporary object to store pointers to data owned elsewhere.

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