Garry's Mod Wiki

Revision Difference

render.AddBeam#561551

<function name="AddBeam" parent="render" type="libraryfunc"> <description>Adds a beam segment to the beam started by <page>render.StartBeam</page>.</description>⤶ <description>⤶ Adds a Beam Segment to the Beam started by <page>render.StartBeam</page>.⤶ ⤶ For more detailed information on Beams, as well as usage examples, see the <page text="Beams Render Reference">render_beams</page>⤶ </description>⤶ <realm>Client</realm> <args> <arg name="startPos" type="Vector">Beam start position.</arg> <arg name="width" type="number">The width of the beam.</arg> <arg name="textureEnd" type="number">The end coordinate of the texture used.</arg> <arg name="color" type="table">The color to be used. Uses the <page>Color</page>.</arg> </args> </function>