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::InstanceDomGeneratorInterface Class Referenceabstract

Inherited by AzToolsFramework::Prefab::InstanceDomGenerator.

Public Member Functions

 AZ_RTTI (InstanceDomGeneratorInterface, "{269DE807-64B2-4157-93B0-BEDA4133C9A0}")
 
virtual void GetInstanceDomFromTemplate (PrefabDom &instanceDom, const Instance &instance) const =0
 
virtual void GetEntityDomFromTemplate (PrefabDom &entityDom, const AZ::Entity &entity) const =0
 

Member Function Documentation

◆ GetEntityDomFromTemplate()

virtual void AzToolsFramework::Prefab::InstanceDomGeneratorInterface::GetEntityDomFromTemplate ( PrefabDom &  entityDom,
const AZ::Entity &  entity 
) const
pure virtual

Gets a copy of entity DOM that represents a given entity object from template. Caller should check if the generated DOM is a valid JSON object.

Parameters
[out]entityDomThe output entity DOM that will be modified.
entityThe given entity object.

Implemented in AzToolsFramework::Prefab::InstanceDomGenerator.

◆ GetInstanceDomFromTemplate()

virtual void AzToolsFramework::Prefab::InstanceDomGeneratorInterface::GetInstanceDomFromTemplate ( PrefabDom &  instanceDom,
const Instance instance 
) const
pure virtual

Gets a copy of instance DOM that represents a given instance object from template. Caller should check if the generated DOM is a valid JSON object.

Parameters
[out]instanceDomThe output instance DOM that will be modified.
instanceThe given instance object.

Implemented in AzToolsFramework::Prefab::InstanceDomGenerator.


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