Garry's Mod Wiki

Revision Difference

render.DrawBeam#524630

<function name="DrawBeam" parent="render" type="libraryfunc"> <description> Draws textured beam. <rendercontext hook="false" type="3D"/>⤶ <rendercontext hook="false" type="3D"></rendercontext>⤶ </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 <page>Color</page>.</arg> </args> </function>