ezEngine  Release 25.03
ezStateMachineTransition Class Referenceabstract

Base class for a transition in a state machine. The target state of a transition is automatically set once its condition has been met. More...

#include <StateMachine.h>

Inheritance diagram for ezStateMachineTransition:

Private Member Functions

virtual bool GetInstanceDataDesc (ezInstanceDataDesc &out_desc)
 Returns whether this transition needs additional instance data and if so fills the out_desc. More...
 

Additional Inherited Members

- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () 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.
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

Base class for a transition in a state machine. The target state of a transition is automatically set once its condition has been met.

Same as with states, transitions are also shared between multiple instances and thus should decide their condition based on the passed instance and instance data.

See also
ezStateMachineInstanceDataDesc

Member Function Documentation

◆ GetInstanceDataDesc()

bool ezStateMachineTransition::GetInstanceDataDesc ( ezInstanceDataDesc out_desc)
privatevirtual

Returns whether this transition needs additional instance data and if so fills the out_desc.

See also
ezStateMachineInstanceDataDesc

Reimplemented in ezStateMachineTransition_Compound.


The documentation for this class was generated from the following files: