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::EntityOutlinerDragAndDropContext Class Reference

#include <EntityOutlinerDragAndDropContext.h>

Inherits AzQtComponents::DragAndDropContextBase.

Public Member Functions

 AZ_CLASS_ALLOCATOR (EntityOutlinerDragAndDropContext, AZ::SystemAllocator)
 
 AZ_RTTI (EntityOutlinerDragAndDropContext, "{5CF08C17-C5C0-48C5-873F-702E9402D162}", AzQtComponents::DragAndDropContextBase)
 

Public Attributes

AZ::EntityId m_parentEntity
 
const QMimeData * m_dataBeingDropped = nullptr
 

Detailed Description

This context is used for the above DragAndDropContext EntityOutliner id. Note that the Outliner is an Item View, and thus will only invoke the DoItemViewDrop / CanItemViewDrop functions on the Drag and Drop Bus.

Member Data Documentation

◆ m_dataBeingDropped

const QMimeData* AzToolsFramework::EntityOutlinerDragAndDropContext::m_dataBeingDropped = nullptr

The mimedata is a pointer to the mimedata being dropped. It survives only for this call.

◆ m_parentEntity

AZ::EntityId AzToolsFramework::EntityOutlinerDragAndDropContext::m_parentEntity

If m_parentEntity is the Invalid Entity Id, it should be considered to be dragging over empty space and not over between any particular element.


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