Garry's Mod Wiki

Revision Difference

render.PushFlashlightMode#560673

<function name="PushFlashlightMode" parent="render" type="libraryfunc"> <description> Enables the flashlight projection for the upcoming rendering. ⤶ <warning>This will leave models lit under specific conditions. You should use <page>render.RenderFlashlights</page> which is meant as a direct replacement for this function.</warning>⤶ ⤶ <deprecated>This will leave models lit under specific conditions. You should use <page>render.RenderFlashlights</page> which is meant as a direct replacement for this function.</deprecated>⤶ </description> <realm>Client</realm> <args> <arg name="enable" type="boolean" default="false">Whether the flashlight mode should be enabled or disabled.</arg> </args> </function>