ezEngine  Release 25.03
ezStateMachineTransition_Compound Class Reference

A state machine transition implementation that combines multiple sub transition into one. More...

#include <StateMachineBuiltins.h>

Inheritance diagram for ezStateMachineTransition_Compound:

Public Member Functions

virtual bool IsConditionMet (ezStateMachineInstance &ref_instance, void *pInstanceData) const override
 
virtual ezResult Serialize (ezStreamWriter &inout_stream) const override
 
virtual ezResult Deserialize (ezStreamReader &inout_stream) override
 
virtual bool GetInstanceDataDesc (ezInstanceDataDesc &out_desc) override
 Returns whether this transition needs additional instance data and if so fills the out_desc. More...
 
- 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.
 

Public Attributes

ezEnum< ezStateMachineLogicOperatorm_Operator
 
ezSmallArray< ezStateMachineTransition *, 2 > m_SubTransitions
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

A state machine transition implementation that combines multiple sub transition into one.

Can be used to build transitions in a more modular way. All calls are simply redirected to all sub transitions and then combined with the given logic operator (AND, OR).

Member Function Documentation

◆ GetInstanceDataDesc()

bool ezStateMachineTransition_Compound::GetInstanceDataDesc ( ezInstanceDataDesc out_desc)
overridevirtual

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

See also
ezStateMachineInstanceDataDesc

Reimplemented from ezStateMachineTransition.


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