Garry's Mod Wiki

Revision Difference

render.DrawBeam#512948

<function name="DrawBeam" parent="render" type="libraryfunc">⤶ <description>⤶ Draws textured beam.⤶ ⤶ <rendercontext hook="false" type="3D"/>⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="startPos" type="Vector">Beam start position.</arg>⤶ <arg name="endPos" type="Vector">Beam end position.</arg>⤶ <arg name="width" type="number">The width of the beam.</arg>⤶ <arg name="textureStart" type="number">The start coordinate of the texture used.</arg>⤶ <arg name="textureEnd" type="number">The end coordinate of the texture used.</arg>⤶ <arg name="color" type="table" default="Color( 255, 255, 255 )">The color to be used. Uses the &lt;page&gt;Color&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶