MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / update

Method update

Engine/source/sfx/sfxModifier.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41//-----------------------------------------------------------------------------
42
43bool SFXOneShotModifier::update()
44{
45 if( mSource->getElapsedPlayTimeCurrentCycle() >= mTriggerPos )
46 {
47 _onTrigger();
48 return mRemoveWhenDone;
49 }
50 else
51 return true;
52}
53
54//=============================================================================
55// SFXRangeModifier.

Callers

nothing calls this directly

Calls 3

isActiveFunction · 0.70
getStatusMethod · 0.45

Tested by

no test coverage detected