![]() |
ezEngine
Release 25.03
|
Sent when something enters or leaves a trigger. More...
#include <TriggerMessage.h>
Public Member Functions | |
EZ_DECLARE_MESSAGE_TYPE (ezMsgTriggerTriggered, ezEventMessage) | |
![]() | |
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 | |
ezHashedString | m_sMessage |
Identifies what the message should trigger. | |
ezEnum< ezTriggerState > | m_TriggerState |
Messages are only sent for 'entered' ('Activated') and 'left' ('Deactivated') | |
ezGameObjectHandle | m_hTriggeringObject |
The object that entered the trigger volume. | |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
Sent when something enters or leaves a trigger.