/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Editor/EditorFramework/DocumentWindow/GameObjectDocumentWindow.moc.h
33 строки
1 KB
Ingrater
Clang-format fixes and update to 18.1.1 (#1234)
10 мар 2024, 15:51
Не верифицирован
10 мар 2024, 15:51
2f16acf
Код
Авторство
О чём код?
#pragma once #include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h> #include <EditorFramework/EditorFrameworkDLL.h> class ezGameObjectDocument; class ezWorldSettingsMsgToEngine; class ezQtGameObjectViewWidget; struct ezGameObjectEvent; struct ezSnapProviderEvent; class EZ_EDITORFRAMEWORK_DLL ezQtGameObjectDocumentWindow : public ezQtEngineDocumentWindow { Q_OBJECT public: ezQtGameObjectDocumentWindow(ezGameObjectDocument* pDocument); ~ezQtGameObjectDocumentWindow(); ezGameObjectDocument* GetGameObjectDocument() const; protected: ezWorldSettingsMsgToEngine GetWorldSettings() const; ezGridSettingsMsgToEngine GetGridSettings() const; virtual void ProcessMessageEventHandler(const ezEditorEngineDocumentMsg* pMsg) override; private: void GameObjectEventHandler(const ezGameObjectEvent& e); void SnapProviderEventHandler(const ezSnapProviderEvent& e); void FocusOnSelectionAllViews(); void FocusOnSelectionHoveredView(); void HandleFocusOnSelection(const ezQuerySelectionBBoxResultMsgToEditor* pMsg, ezQtGameObjectViewWidget* pSceneView); };