/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Core/Messages/DeleteObjectMessage.h
20 строк
839 B
Jan Krassnigg
Improved code documentation: Core, Texture, Utilities (#1666)
23 сен 2025, 09:56
Не верифицирован
23 сен 2025, 09:56
a9f6901
Код
Авторство
О чём код?
#pragma once #include <Core/CoreDLL.h> #include <Foundation/Communication/Message.h> /// \brief Message to request deletion of a game object and optionally its empty parent objects. /// /// When sent to a game object, this message will cause it to be deleted. Can also clean up /// empty parent objects in the hierarchy and provides cancellation capability for components /// that need to orchestrate the deletion timing. struct EZ_CORE_DLL ezMsgDeleteGameObject : public ezMessage { EZ_DECLARE_MESSAGE_TYPE(ezMsgDeleteGameObject, ezMessage); /// \brief If set to true, any parent/ancestor that has no other children or components will also be deleted. bool m_bDeleteEmptyParents = true; /// \brief This is used by ezOnComponentFinishedAction to orchestrate when an object shall really be deleted. bool m_bCancel = false; };