MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / TurnOff

Method TurnOff

ogsr_engine/xrGame/searchlight.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void CProjector::TurnOff()
124{
125 if (!light_render->get_active())
126 return;
127
128 light_render->set_active(false);
129
130 smart_cast<IKinematics*>(Visual())->LL_SetBoneVisible(guid_bone, FALSE, TRUE);
131}
132
133void CProjector::UpdateCL()
134{

Callers

nothing calls this directly

Calls 4

VisualFunction · 0.85
get_activeMethod · 0.80
LL_SetBoneVisibleMethod · 0.80
set_activeMethod · 0.45

Tested by

no test coverage detected