class ParticleBaseSource
ParticleSource › Particle › ParticleBase › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 1
Members 2
protected bool m_IsPlayingWhether the particle is currently playing
Show 1 more
, OnParticleStop()protected ref ParticleEvents m_EventInvokersEvent invokers
Methods 14
void PlayParticle(int particle_id = -1)Method to tell the particle to start playing
particle_idintParticle ID registered in ParticleList to start playing
Returns: bool Whether the particle successfully started
Method to tell the particle to start playing
particle_idintParticle ID registered in ParticleList to start playingflagsintFlags to pass to the playing
Returns: bool Whether the particle successfully started
Method to tell the particle to stop playing
flagsintFlags to pass to the stopping
Returns: bool Whether the particle successfully stopped
bool ResetParticle()Method to tell the particle to reset
Returns: bool Whether the particle successfully reset
bool RestartParticle()Method to tell the particle to restart (reset + play)
Returns: bool Whether the particle successfully restarted
bool IsParticlePlaying()Ask if the particle is still playing
Returns: bool Whether the particle is playing
ParticleEvents GetEvents()Get the events
Returns: ParticleEvents If there is any events set, this will return them so that additional functionality can be bound to them
protected void OnParticleStart()Event when the particle starts
protected void OnParticleStop()Event when the particle stops
protected void OnParticleReset()Event when the particle is restarted
protected void OnParticleEnd()Event when the particle ends
protected void OnParticleParented(IEntity parent)Event when the particle receives a parent
protected void OnParticleUnParented(IEntity parent)Event when the particle is orphaned