MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SetMaxParticles

Method SetMaxParticles

ogsr_engine/xrParticles/particle_manager.cpp:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void CParticleManager::SetMaxParticles(int effect_id, u32 max_particles)
214{
215 ParticleEffect* pe = GetEffectPtr(effect_id);
216 pe->Resize(max_particles);
217}
218
219void CParticleManager::SetCallback(int effect_id, OnBirthParticleCB b, OnDeadParticleCB d, void* owner, u32 param)
220{

Callers 1

CompileMethod · 0.80

Calls 1

ResizeMethod · 0.45

Tested by

no test coverage detected