![]() |
ezEngine Release 26.3
|
Message to request deletion of a game object and optionally its empty parent objects. More...
#include <DeleteObjectMessage.h>

Public Member Functions | |
| EZ_DECLARE_MESSAGE_TYPE (ezMsgDeleteGameObject, ezMessage) | |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
| bool | m_bDeleteEmptyParents = true |
| If set to true, any parent/ancestor that has no other children or components will also be deleted. | |
| bool | m_bCancel = false |
| This is used by ezOnComponentFinishedAction to orchestrate when an object shall really be deleted. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
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.