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::PrefabSystemScriptingEbusTraits Struct Referenceabstract

Inherits AZ::EBusTraits.

Public Types

using MutexType = AZ::NullMutex
 

Public Member Functions

virtual TemplateId CreatePrefabTemplate (const AZStd::vector< AZ::EntityId > &entityIds, const AZStd::string &filePath)=0
 
virtual TemplateId CreatePrefabTemplateWithCustomEntityAliases (const AZStd::unordered_map< AZ::EntityId, AZStd::string > &entities, const AZStd::string &filePath)=0
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Member Function Documentation

◆ CreatePrefabTemplateWithCustomEntityAliases()

virtual TemplateId AzToolsFramework::Prefab::PrefabSystemScriptingEbusTraits::CreatePrefabTemplateWithCustomEntityAliases ( const AZStd::unordered_map< AZ::EntityId, AZStd::string > &  entities,
const AZStd::string &  filePath 
)
pure virtual

Creates a prefab template using the custom entity aliases provided.

Parameters
entitiesThe map of entity ids to entity aliases.
filepathThe filepath corresponding to the new template to be created.

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