/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/Scene/EditorPluginScene/DragDropHandlers/MeshDragDropHandler.h
25 строк
799 B
Ingrater
Changes to build the Editor with LLVM/Clang (#266)
10 июн 2020, 09:35
Не верифицирован
10 июн 2020, 09:35
315ee12
Код
Авторство
О чём код?
#pragma once #include <EditorFramework/DragDrop/ComponentDragDropHandler.h> class ezMeshComponentDragDropHandler : public ezComponentDragDropHandler { EZ_ADD_DYNAMIC_REFLECTION(ezMeshComponentDragDropHandler, ezComponentDragDropHandler); public: virtual float CanHandle(const ezDragDropInfo* pInfo) const override; virtual void OnDragBegin(const ezDragDropInfo* pInfo) override; }; ////////////////////////////////////////////////////////////////////////// class ezAnimatedMeshComponentDragDropHandler : public ezComponentDragDropHandler { EZ_ADD_DYNAMIC_REFLECTION(ezAnimatedMeshComponentDragDropHandler, ezComponentDragDropHandler); public: virtual float CanHandle(const ezDragDropInfo* pInfo) const override; virtual void OnDragBegin(const ezDragDropInfo* pInfo) override; };