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

Method OnAssetChanged

Source/Engine/Particles/ParticleEffect.cpp:549–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void ParticleEffect::OnAssetChanged(Asset* asset, void* caller)
550{
551#if USE_EDITOR
552 OnParticleEmittersClear();
553#endif
554 Instance.ClearState();
555 _parameters.Resize(0);
556 _parametersVersion = 0;
557}
558
559void ParticleEffect::OnAssetLoaded(Asset* asset, void* caller)
560{

Callers

nothing calls this directly

Calls 2

ClearStateMethod · 0.45
ResizeMethod · 0.45

Tested by

no test coverage detected