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

Method init_scoping

Engine/source/afx/afxEffectron.cpp:592–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void afxEffectron::init_scoping()
593{
594 if (scoping_initialized)
595 {
596 //Con::printf("SCOPING ALREADY INITIALIZED");
597 return;
598 }
599
600 if (isServerObject())
601 {
602 if (explicit_clients.size() > 0)
603 {
604 for (U32 i = 0; i < explicit_clients.size(); i++)
605 explicit_clients[i]->objectLocalScopeAlways(this);
606 }
607 else
608 {
609 mNetFlags.set(Ghostable);
610 setScopeAlways();
611 }
612 scoping_initialized = true;
613 }
614}
615
616void afxEffectron::setup_active_fx()
617{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected