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

Method sgNewEvent

Engine/source/lighting/common/sceneLighting.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void SceneLighting::sgNewEvent(U32 light, S32 object, U32 event)
59{
60 Sim::postEvent(this, new sgSceneLightingProcessEvent(light, object, event), Sim::getTargetTime() + 1);
61 // Paint canvas here?
62}
63
64//-----------------------------------------------
65/*

Callers

nothing calls this directly

Calls 2

getTargetTimeFunction · 0.85
postEventFunction · 0.50

Tested by

no test coverage detected