MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / ParticleNode

Method ParticleNode

Source/Node/Particle.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189ParticleNode::ParticleNode(ParticleDef* def)
190 : _particleDef(def)
191 , _elapsed(0)
192 , _emitCounter(0)
193 , _texLeft(0)
194 , _texTop(0)
195 , _texRight(0)
196 , _texBottom(0)
197 , _renderState(BGFX_STATE_NONE)
198 , _effect(SharedSpriteRenderer.getDefaultEffect()) { }
199
200ParticleNode::ParticleNode(String filename)
201 : ParticleNode(SharedParticleCache.load(filename)) { }

Callers

nothing calls this directly

Calls 2

loadMethod · 0.65
getDefaultEffectMethod · 0.45

Tested by

no test coverage detected