add Beam
open fun addBeam(duration: Float, fading: Float, width: Float, from: Vector2f, angle: Float, length: Float, core: Color, fringe: Color)
Fake beam renderer Draw the actual fake beam, can be directly called when it is only for visual effects
Parameters
duration
Duration of the beam at full opacity
fading
Duration of the beam fading
width
Width of the beam
from
Point of origin of the beam
angle
Angle of the beam
length
Length of the beam (remember that some tip fading will occur)
core
Core color of the beam
fringe
Fringe color of the beam