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

Method ResetParameters

Source/Engine/Particles/ParticleEffect.cpp:226–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void ParticleEffect::ResetParameters()
227{
228 _parametersOverrides.Clear();
229 auto& parameters = GetParameters();
230 for (auto& p : parameters)
231 {
232 p.SetValue(p.GetDefaultValue());
233 }
234}
235
236float ParticleEffect::GetTime() const
237{

Callers 3

OnMaterialLoadedMethod · 0.45
UpdateLayoutMethod · 0.45
ImportModelMethod · 0.45

Calls 3

ClearMethod · 0.45
SetValueMethod · 0.45
GetDefaultValueMethod · 0.45

Tested by

no test coverage detected