Revision Difference
Global.DrawSunbeams#526732
<function name="DrawSunbeams" parent="Global" type="libraryfunc">
<description>Renders the post-processing effect of beams of light originating from the map's sun. Utilises the "pp/sunbeams" material</description>
<realm>Client</realm>
<args>
<arg name="darken" type="number">$darken property for sunbeams material</arg>
<arg name="multiplier" type="number">$multiply property for sunbeams material</arg>
<arg name="sunSize" type="number">$sunsize property for sunbeams material</arg>
<arg name="sunX" type="number">$sunx property for sunbeams material</arg>
<arg name="sunY" type="number">$suny property for sunbeams material</arg>
</args>
</function>
⤶
<example>⤶
<description></description>⤶
⤶
<code>⤶
DrawSunbeams(0.3, 0.12, 1, 1.2, 1.2)⤶
</code>⤶
</example>⤶