110 p.GetEvents().Event_OnParticleEnd.Insert(
StopEnded);
int InsertManager(ParticleManager pm)
ParticleManager CreatePMFixedBlocking(int size)
bool m_bOnePlayingSAADEnded
static const float STOP_ACCUMULATED_TIME_PLAY_CUTOFF
TFResult TestOnePlayingStandAlone()
TFResult TestWiggleStress()
static const float STOP_ACCUMULATED_TIME_STOP_CUTOFF
void StopEnded(ParticleSource p)
TFResult CheckStop(float dt)
TFResult CheckOnePlayingSAAD()
bool m_bOnePlayingSAEnded
TFResult TestOnePlayingStandAloneAutoDestroy()
void PassOnePlaying(ParticleSource p)
void OnePlayingSAADEnded(ParticleSource p)
void OnePlayingSAEnded(ParticleSource p)
TFResult CheckOnePlayingSA()
TFResult CheckOnePlaying()
float m_StopAccumulatedTime
bool m_bOnePlayingTestSuccess
int m_OnePlayingManagerID
TFResult TestOnePlaying()
ref array< ParticleSource > m_ParticleSources
override void PlayParticle(int particle_id=-1)
Method to tell the particle to start playing.
static const int EXPLOSION_LANDMINE
static const int ROADFLARE_BURNING_MAIN
Entity which has the particle instance as an ObjectComponent.
bool GetParticle(out string path, EGetParticleMode mode)
Gets the path to the currently assigned particle.
void DisableAutoDestroy()
Disables the particle automatically cleaning up itself when ending or stopping.
override void SetWiggle(float random_angle, float random_interval)
Makes the particle change direction by random_angle every random_interval seconds.
override bool IsParticlePlaying()
Ask if the particle is still playing.
override bool StopParticle(int flags=0)
Method to tell the particle to stop playing.
static ParticleSource CreateParticle(int id, vector pos, bool playOnCreation=false, Object parent=null, vector ori=vector.Zero, bool forceWorldRotation=false, Class owner=null)
Create function.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor).
TFResult NTFR(TFR result)
bool Assert(bool condition)
void TFResult(TFR result)
void AddFrameTest(string test)
void AddInitTest(string test)
TFResult BTFR(bool result)