MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ContainsEmitter

Method ContainsEmitter

Source/Engine/Particles/ParticlesSimulation.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool ParticleSystemInstance::ContainsEmitter(ParticleEmitter* emitter) const
162{
163 for (int32 i = 0; i < Emitters.Count(); i++)
164 {
165 if (Emitters[i].Buffer && Emitters[i].Buffer->Emitter == emitter)
166 return true;
167 }
168 return false;
169}

Callers 1

OnEmitterUnloadMethod · 0.80

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected