ezEngine Release 26.3
Loading...
Searching...
No Matches
ezParticleEventReactionFactory Class Referenceabstract

Base class for all particle event reaction factories. More...

#include <ParticleEventReaction.h>

Inheritance diagram for ezParticleEventReactionFactory:

Public Member Functions

virtual const ezRTTIGetEventReactionType () const =0
 
virtual void CopyReactionProperties (ezParticleEventReaction *pObject, bool bFirstTime) const =0
 
ezParticleEventReactionCreateEventReaction (ezParticleEffectInstance *pOwner) const
 Creates and initializes a new event reaction instance for the given effect.
 
virtual void Save (ezStreamWriter &inout_stream) const
 
virtual void Load (ezStreamReader &inout_stream)
 
- 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

ezString m_sEventType
 The type of particle event this reaction responds to.
 
ezUInt8 m_uiProbability = 100
 Probability (1-100) that this reaction triggers when the event occurs.
 

Additional Inherited Members

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

Detailed Description

Base class for all particle event reaction factories.

Event reaction factories create and configure event reactions that respond to particle events. Each factory specifies which event type to respond to and the probability of triggering.


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