Plasma Engine  2.0
Loading...
Searching...
No Matches
PrefabDragDropHandler.h
1#pragma once
2
3#include <EditorFramework/DragDrop/ComponentDragDropHandler.h>
4
6{
8
9protected:
10 virtual float CanHandle(const plDragDropInfo* pInfo) const override;
11 virtual void OnDragBegin(const plDragDropInfo* pInfo) override;
12 virtual void OnDragUpdate(const plDragDropInfo* pInfo) override;
13
14private:
15 void CreatePrefab(const plVec3& vPosition, const plUuid& AssetGuid, plUuid parent, plInt32 iInsertChildIndex);
16};
Definition ComponentDragDropHandler.h:9
This type is used to provide plDragDropHandler instances with all the important information for a dra...
Definition DragDropInfo.h:16
Definition PrefabDragDropHandler.h:6
virtual void OnDragBegin(const plDragDropInfo *pInfo) override
Called shortly after CanHandle returned true to begin handling a drag operation.
Definition PrefabDragDropHandler.cpp:21
virtual float CanHandle(const plDragDropInfo *pInfo) const override
Used to ask a handler whether it knows how to handle a certain drag & drop situation.
Definition PrefabDragDropHandler.cpp:13
virtual void OnDragUpdate(const plDragDropInfo *pInfo) override
Called to update the drag operation with the latest state.
Definition PrefabDragDropHandler.cpp:74
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11