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

Inherits AZ::EBusTraits.

Public Member Functions

 AZ_TYPE_INFO (PrefabLoaderScriptingTraits, "{C344B7D8-8299-48C9-8450-26E1332EA011}")
 
virtual AZ::Outcome< AZStd::string, void > SaveTemplateToString (TemplateId templateId)=0
 

Static Public Attributes

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

Member Function Documentation

◆ SaveTemplateToString()

virtual AZ::Outcome< AZStd::string, void > AzToolsFramework::Prefab::PrefabLoaderScriptingTraits::SaveTemplateToString ( TemplateId  templateId)
pure virtual

Saves a Prefab Template into the provided output string. Converts Prefab Template form into .prefab form by collapsing nested Template info into a source path and patches.

Parameters
templateIdId of the template to be saved
Returns
Will contain the serialized template json on success

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