Open 3D Engine AzFramework 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.
AzFramework::EditorEntityEvents Class Reference

#include <EditorEntityEvents.h>

Public Member Functions

 AZ_RTTI (EditorEntityEvents, "{A6ECB561-1C69-4438-92E5-1CC4EC0C9E93}")
 
virtual void EditorInit (AZ::EntityId)
 
virtual void EditorActivate (AZ::EntityId)
 
virtual void EditorDeactivate (AZ::EntityId)
 
virtual void EditorDisplay (AZ::EntityId, DebugDisplayRequests &, const AZ::Transform &)
 
virtual void EditorSetPrimaryAsset (const AZ::Data::AssetId &)
 

Detailed Description

Inherit the EditorEntityEvents interface to receive editor-time events on a non-editor component.

The preferred model is to implement a separate editor component inheriting from AzToolsFramework::EditorComponentBase in order to provide richer in-editor functionality. This is specifically to accelerate teams willing to blend editor and runtime component code, and/or activate components at edit time.

Member Function Documentation

◆ EditorSetPrimaryAsset()

virtual void AzFramework::EditorEntityEvents::EditorSetPrimaryAsset ( const AZ::Data::AssetId &  )
inlinevirtual

This API allows a component associated with a primary asset to participate in drag and drop asset events without an editor counterpart


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