Revision Difference
render.GetLightColor#568065
<function name="GetLightColor" parent="render" type="libraryfunc">
<description>Gets the light exposure on the specified position.</description>⤶
<description>⤶
⤶
<deprecated>Same as <page>render.ComputeLighting</page> without the `normal` argument provided, so just use that</deprecated>⤶
⤶
Gets the light exposure on the specified position.⤶
⤶
This is effectively the same as <page>render.ComputeLighting</page> without the `normal` argument provided.⤶
</description>⤶
<realm>Client</realm>
<args>
<arg name="position" type="Vector">The position of the surface to get the light from.</arg>
</args>
<rets>
<ret name="" type="Vector">The light color.</ret>
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help