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

Method activationCallInit

Engine/source/afx/afxEffectron.cpp:1037–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037bool afxEffectron::activationCallInit(bool postponed)
1038{
1039 if (postponed && (!started_with_newop || !postpone_activation))
1040 {
1041 Con::errorf("afxEffectron::activate() -- activate() is only required when creating an effectron with the \"new\" operator "
1042 "and the postponeActivation field is set to \"true\".");
1043 return false;
1044 }
1045
1046 return true;
1047}
1048
1049void afxEffectron::activate()
1050{

Callers 1

afxEffectron.cppFile · 0.45

Calls 1

errorfFunction · 0.50

Tested by

no test coverage detected