create Sharp Flare
open fun createSharpFlare(engine: CombatEngineAPI, origin: ShipAPI, point: Vector2f, thickness: Float, length: Float, angle: Float, fringeColor: Color, coreColor: Color)
Creates sharp lensflares, more suited to very thin short lived flares Not CPU intensive.
Parameters
engine
Combat engine.
origin
Source of the Flare. Can be anything but CANNOT BE NULL.
point
Absolute coordinates of the flare.
thickness
Thickness of the flare in pixels. Work best between 3 and 10.
length
Length of the flare's branches in pixels. Works great between 50 and 300 but can easily be longer/shorter.
angle
Angle of the flare. 0 means horizontal. Remember that real Anamorphic flares are always horizontal.
fringe Color
Fringe color of the flare.
core Color
Core color of the flare.