3#include <EditorFramework/DragDrop/AssetDragDropHandler.h>
13 void CreateDropObject(
const plVec3& vPosition,
const char* szType,
const char* szProperty,
const plVariant& value,
plUuid parent, plInt32 iInsertChildIndex);
15 void AttachComponentToObject(
const char* szType,
const char* szProperty,
const plVariant& value,
plUuid ObjectGuid);
17 void MoveObjectToPosition(
const plUuid& guid,
const plVec3& vPosition,
const plQuat& qRotation);
19 void MoveDraggedObjectsToPosition(
plVec3 vPosition,
bool bAllowSnap,
const plVec3& normal);
21 void SelectCreatedObjects();
23 void BeginTemporaryCommands();
25 void EndTemporaryCommands();
27 void CancelTemporaryCommands();
Definition AssetDragDropHandler.h:8
Definition ComponentDragDropHandler.h:9
virtual void OnDrop(const plDragDropInfo *pInfo)=0
Final call to finish the drag & drop operation. Handler is destroyed after this.
virtual void OnDragCancel()=0
Called when the drag operation leaves the designated area. The handler will be destroyed after this....
virtual float CanHandle(const plDragDropInfo *pInfo) const =0
Used to ask a handler whether it knows how to handle a certain drag & drop situation.
virtual void OnDragBegin(const plDragDropInfo *pInfo)=0
Called shortly after CanHandle returned true to begin handling a drag operation.
virtual void OnDragUpdate(const plDragDropInfo *pInfo)=0
Called to update the drag operation with the latest state.
This type is used to provide plDragDropHandler instances with all the important information for a dra...
Definition DragDropInfo.h:16
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
static plVec3Template< float > MakeZero()
Definition Vec3.h:38