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

Method IsValid

Source/Engine/Particles/ParticleEffect.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool ParticleEffectParameter::IsValid() const
37{
38 return _effect->ParticleSystem &&
39 _effect->Instance.Emitters.Count() > _emitterIndex &&
40 _effect->ParticleSystem->Emitters[_emitterIndex] &&
41 _effect->ParticleSystem->Emitters[_emitterIndex]->Graph.Parameters.Count() > _paramIndex;
42}
43
44ParticleEmitter* ParticleEffectParameter::GetEmitter() const
45{

Callers 11

GetReferencesMethod · 0.45
DrawEmitterCPUFunction · 0.45
UpdateMethod · 0.45
loadTextureMethod · 0.45
sampleSceneTextureMethod · 0.45
ProcessGroupTexturesMethod · 0.45
SetClothParticlesMethod · 0.45
SetClothPaintMethod · 0.45
CalculateInvMassesMethod · 0.45
OnPreUpdateMethod · 0.45
RunClothDeformerMethod · 0.45

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected