/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/Scene/SharedPluginScene/Common/Messages.h
88 строк
3 KB
Jan Krassnigg
Spline editing now works with order of child objects (#1866)
13 мар 2026, 22:12
Не верифицирован
13 мар 2026, 22:12
9169114
Код
Авторство
О чём код?
#pragma once #include <EditorEngineProcessFramework/EngineProcess/EngineProcessMessages.h> #include <SharedPluginScene/SharedPluginSceneDLL.h> class EZ_SHAREDPLUGINSCENE_DLL ezExposedSceneProperty : public ezReflectedClass { EZ_ADD_DYNAMIC_REFLECTION(ezExposedSceneProperty, ezReflectedClass); public: ezString m_sName; ezUuid m_Object; ezString m_sPropertyPath; }; class EZ_SHAREDPLUGINSCENE_DLL ezExposedDocumentObjectPropertiesMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezExposedDocumentObjectPropertiesMsgToEngine, ezEditorEngineDocumentMsg); public: ezDynamicArray<ezExposedSceneProperty> m_Properties; }; class EZ_SHAREDPLUGINSCENE_DLL ezExportSceneGeometryMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezExportSceneGeometryMsgToEngine, ezEditorEngineDocumentMsg); public: bool m_bSelectionOnly = false; ezString m_sOutputFile; int m_iExtractionMode; // ezWorldGeoExtractionUtil::ExtractionMode ezMat3 m_Transform; }; class EZ_SHAREDPLUGINSCENE_DLL ezPullObjectStateMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezPullObjectStateMsgToEngine, ezEditorEngineDocumentMsg); }; struct ezPushObjectStateData { ezUuid m_LayerGuid; ezUuid m_ObjectGuid; ezVec3 m_vPosition; ezQuat m_qRotation; bool m_bAdjustFromPrefabRootChild = false; // only used internally, not synchronized ezMap<ezString, ezTransform> m_BoneTransforms; }; EZ_DECLARE_REFLECTABLE_TYPE(EZ_SHAREDPLUGINSCENE_DLL, ezPushObjectStateData); class EZ_SHAREDPLUGINSCENE_DLL ezPushObjectStateMsgToEditor : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezPushObjectStateMsgToEditor, ezEditorEngineDocumentMsg); public: ezDynamicArray<ezPushObjectStateData> m_ObjectStates; }; class EZ_SHAREDPLUGINSCENE_DLL ezActiveLayerChangedMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezActiveLayerChangedMsgToEngine, ezEditorEngineDocumentMsg); public: ezUuid m_ActiveLayer; }; class EZ_SHAREDPLUGINSCENE_DLL ezLayerVisibilityChangedMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezLayerVisibilityChangedMsgToEngine, ezEditorEngineDocumentMsg); public: ezHybridArray<ezUuid, 1> m_HiddenLayers; }; /// \brief Sent from the editor to the engine to communicate the desired child object order for a component. /// /// Targets a component identified by its GUID. The component must handle ezMsgSyncChildOrder. /// Used in conjunction with ezSyncChildOrderAttribute. class EZ_SHAREDPLUGINSCENE_DLL ezSyncChildOrderMsgToEngine : public ezEditorEngineDocumentMsg { EZ_ADD_DYNAMIC_REFLECTION(ezSyncChildOrderMsgToEngine, ezEditorEngineDocumentMsg); public: ezUuid m_LayerGuid; ezUuid m_ComponentGuid; ezDynamicArray<ezUuid> m_ChildOrder; };