Garry's Mod Wiki

render.AddBeam

  render.AddBeam( Vector startPos, number width, number textureEnd, table color )

Description

Adds a Beam Segment to the Beam started by render.StartBeam.

For more detailed information on Beams, as well as usage examples, see the Beams Render Reference

Arguments

1 Vector startPos
Beam start position.
2 number width
The width of the beam.
3 number textureEnd
The end coordinate of the texture used.
4 table color
The color to be used. Uses the Color.