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::PrefabPublicRequestHandler Class Referencefinal

Inherits PrefabPublicRequestBus::Handler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PrefabPublicRequestHandler, AZ::SystemAllocator)
 
 AZ_RTTI (PrefabPublicRequestHandler, "{83FBDDF9-10BE-4373-B1DC-44B47EE4805C}")
 
void Connect ()
 
void Disconnect ()
 
CreatePrefabResult CreatePrefabInMemory (const EntityIdList &entityIds, AZStd::string_view filePath) override
 
InstantiatePrefabResult InstantiatePrefab (AZStd::string_view filePath, AZ::EntityId parent, const AZ::Vector3 &position) override
 
PrefabOperationResult DeleteEntitiesAndAllDescendantsInInstance (const EntityIdList &entityIds) override
 
PrefabOperationResult DetachPrefab (const AZ::EntityId &containerEntityId) override
 
DuplicatePrefabResult DuplicateEntitiesInInstance (const EntityIdList &entityIds) override
 
AZStd::string GetOwningInstancePrefabPath (AZ::EntityId entityId) const override
 
CreateSpawnableResult CreateInMemorySpawnableAsset (AZStd::string_view prefabFilePath, AZStd::string_view spawnableName) override
 
PrefabOperationResult RemoveInMemorySpawnableAsset (AZStd::string_view spawnableName) override
 
bool HasInMemorySpawnableAsset (AZStd::string_view spawnableName) const override
 
AZ::Data::AssetId GetInMemorySpawnableAssetId (AZStd::string_view spawnableName) const override
 
void RemoveAllInMemorySpawnableAssets () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

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