|
virtual float | CanHandle (const ezDragDropInfo *pInfo) const override |
| Used to ask a handler whether it knows how to handle a certain drag & drop situation. More...
|
|
virtual void | OnDragBegin (const ezDragDropInfo *pInfo) override |
| Called shortly after CanHandle returned true to begin handling a drag operation.
|
|
virtual void | OnDragUpdate (const ezDragDropInfo *pInfo) override |
| Called to update the drag operation with the latest state.
|
|
Protected Member Functions inherited from ezComponentDragDropHandler |
void | CreateDropObject (const ezVec3 &vPosition, const char *szType, const char *szProperty, const ezVariant &value, ezUuid parent, ezInt32 iInsertChildIndex) |
|
void | AttachComponentToObject (const char *szType, const char *szProperty, const ezVariant &value, ezUuid ObjectGuid) |
|
void | MoveObjectToPosition (const ezUuid &guid, const ezVec3 &vPosition, const ezQuat &qRotation) |
|
void | MoveDraggedObjectsToPosition (ezVec3 vPosition, bool bAllowSnap, const ezVec3 &normal) |
|
void | SelectCreatedObjects () |
|
void | BeginTemporaryCommands () |
|
void | EndTemporaryCommands () |
|
void | CancelTemporaryCommands () |
|
virtual void | OnDragCancel () override |
| Called when the drag operation leaves the designated area. The handler will be destroyed after this. It should clean up all temporary objects that it created before.
|
|
virtual void | OnDrop (const ezDragDropInfo *pInfo) override |
| Final call to finish the drag & drop operation. Handler is destroyed after this.
|
|
Protected Member Functions inherited from ezAssetDragDropHandler |
bool | IsAssetType (const ezDragDropInfo *pInfo) const |
|
ezString | GetAssetGuidString (const ezDragDropInfo *pInfo) const |
|
ezUuid | GetAssetGuid (const ezDragDropInfo *pInfo) const |
|
ezString | GetAssetsDocumentTypeName (const ezUuid &assetTypeGuid) const |
|
bool | IsSpecificAssetType (const ezDragDropInfo *pInfo, const char *szType) const |
|
Protected Member Functions inherited from ezDragDropHandler |
virtual void | RequestConfiguration (ezDragDropConfig *pConfigToFillOut) |
| Potentially called by the drag drop target to request information about how to determine the ezDragDropInfo data.
|
|