Inherits PrefabInstanceContainerNotificationBus::Handler, AzToolsFramework::Prefab::PrefabIntegrationInterface, PrefabFocusNotificationBus::Handler, AzToolsFramework::Prefab::PrefabPublicNotificationBus::Handler, EditorEntityContextNotificationBus::Handler, and AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler.
|
| AZ_CLASS_ALLOCATOR (PrefabIntegrationManager, AZ::SystemAllocator) |
|
void | OnStartPlayInEditorBegin () override |
|
void | OnStopPlayInEditor () override |
|
void | OnPrefabFocusChanged (AZ::EntityId previousContainerEntityId, AZ::EntityId newContainerEntityId) override |
|
void | OnPrefabFocusRefreshed () override |
|
void | OnPrefabComponentActivate (AZ::EntityId entityId) override |
|
void | OnPrefabComponentDeactivate (AZ::EntityId entityId) override |
|
AZ::EntityId | CreateNewEntityAtPosition (const AZ::Vector3 &position, AZ::EntityId parentId) override |
|
int | HandleRootPrefabClosure (TemplateId templateId) override |
|
void | SaveCurrentPrefab () override |
| Saves the prefab currently focused in the main editor window and all its descendants.
|
|
void | OnActionUpdaterRegistrationHook () override |
|
void | OnActionRegistrationHook () override |
|
void | OnWidgetActionRegistrationHook () override |
|
void | OnMenuBindingHook () override |
|
void | OnToolBarBindingHook () override |
|
void | OnPostActionManagerRegistrationHook () override |
|
| AZ_RTTI (PrefabIntegrationInterface, "{B88AE045-7711-49BC-8336-45003D1C9116}") |
|
virtual AZ::EntityId | CreateNewEntityAtPosition (const AZ::Vector3 &position, AZ::EntityId parentId)=0 |
|
virtual int | HandleRootPrefabClosure (TemplateId templateId)=0 |
|
virtual void | SaveCurrentPrefab ()=0 |
| Saves the prefab currently focused in the main editor window and all its descendants.
|
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
◆ CreateNewEntityAtPosition()
AZ::EntityId AzToolsFramework::Prefab::PrefabIntegrationManager::CreateNewEntityAtPosition |
( |
const AZ::Vector3 & |
position, |
|
|
AZ::EntityId |
parentId |
|
) |
| |
|
overridevirtual |
Create a new entity at the position provided.
- Parameters
-
position | The position the new entity will be created at. |
parentId | The id of the parent of the newly created entity. |
- Returns
- The id of the newly created entity.
Implements AzToolsFramework::Prefab::PrefabIntegrationInterface.
◆ HandleRootPrefabClosure()
int AzToolsFramework::Prefab::PrefabIntegrationManager::HandleRootPrefabClosure |
( |
TemplateId |
templateId | ) |
|
|
overridevirtual |
◆ SaveCurrentPrefab()
void AzToolsFramework::Prefab::PrefabIntegrationManager::SaveCurrentPrefab |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/UI/Prefab/PrefabIntegrationManager.h