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

Method activate

Engine/source/afx/afxEffectron.cpp:1049–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049void afxEffectron::activate()
1050{
1051 // separating the final part of startup allows the calling script
1052 // to make certain types of calls on the returned effectron that
1053 // need to happen prior to constraint initialization.
1054 Sim::postEvent(this, new EffectronFinishStartupEvent, Sim::getCurrentTime());
1055
1056 // CALL SCRIPT afxEffectronData::onActivate(%eff)
1057 Con::executef(exeblock, "onActivate", getIdString());
1058}
1059
1060//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
1061// console functions

Callers 4

start_effectMethod · 0.45
afxEffectron.cppFile · 0.45
ea_updateMethod · 0.45
ea_set_scope_statusMethod · 0.45

Calls 3

executefFunction · 0.85
postEventFunction · 0.50
getCurrentTimeFunction · 0.50

Tested by

no test coverage detected