MCPcopy Create free account
hub / github.com/axmolengine/axmol / setTotalParticles

Method setTotalParticles

core/2d/ParticleSystem.cpp:2147–2151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2145}
2146
2147void ParticleSystem::setTotalParticles(int var)
2148{
2149 AXASSERT(var <= _allocatedParticles, "Particle: resizing particle array only supported for quads");
2150 _totalParticles = var;
2151}
2152
2153const BlendFunc& ParticleSystem::getBlendFunc() const
2154{

Callers 4

IntervalTestMethod · 0.45
onEnterMethod · 0.45
removeSystemMethod · 0.45
loadParticleMethod · 0.45

Calls

no outgoing calls

Tested by 3

IntervalTestMethod · 0.36
onEnterMethod · 0.36
removeSystemMethod · 0.36