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

Method unload

Source/Engine/Particles/ParticleSystem.cpp:313–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void ParticleSystem::unload(bool isReloading)
314{
315 Version++;
316 FramesPerSecond = 0.0f;
317 DurationFrames = 0;
318 Emitters.Resize(0);
319 EmittersParametersOverrides.SetCapacity(0);
320 Tracks.Resize(0);
321#if !BUILD_RELEASE
322 _debugName.Clear();
323#endif
324}
325
326AssetChunksFlag ParticleSystem::getChunksToPreload() const
327{

Callers

nothing calls this directly

Calls 3

ResizeMethod · 0.45
SetCapacityMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected