Open 3D Engine AzToolsFramework 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.
AzToolsFramework::Prefab::PrefabConversionUtils::EntityIdPathMapperInterface Class Referenceabstract

Inherited by AzToolsFramework::Prefab::PrefabConversionUtils::PrefabProcessorContext [private].

Public Member Functions

 AZ_RTTI (EntityIdPathMapperInterface, "{1D1E032C-EEBA-449B-A265-03A8DE937EC9}")
 
virtual AZ::IO::PathView GetHashedPathUsedForEntityIdGeneration (const AZ::EntityId)=0
 
virtual void SetHashedPathUsedForEntityIdGeneration (const AZ::EntityId, AZ::IO::PathView)=0
 

Member Function Documentation

◆ GetHashedPathUsedForEntityIdGeneration()

virtual AZ::IO::PathView AzToolsFramework::Prefab::PrefabConversionUtils::EntityIdPathMapperInterface::GetHashedPathUsedForEntityIdGeneration ( const AZ::EntityId  )
pure virtual

Fetches the hashed path used for generation of entity id during deserialization for a given entity id. This map is needed when there is a many-to-one relationship between entity ids and hashed paths.

Parameters
AZ::EntityIdThe Entity Id to fetch a hashed path for

Implemented in AzToolsFramework::Prefab::PrefabConversionUtils::PrefabProcessorContext.

◆ SetHashedPathUsedForEntityIdGeneration()

virtual void AzToolsFramework::Prefab::PrefabConversionUtils::EntityIdPathMapperInterface::SetHashedPathUsedForEntityIdGeneration ( const AZ::EntityId  ,
AZ::IO::PathView   
)
pure virtual

Sets the hashed path used for generation of entity id during deserialization for a given entity id. This map is needed when there is a many-to-one relationship between entity ids and hashed paths.

Parameters
AZ::EntityIdThe Entity Id to set a hashed path for
AZ::IO::PathViewThe hashed path to set for the given Entity Id

Implemented in AzToolsFramework::Prefab::PrefabConversionUtils::PrefabProcessorContext.


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