root
JVM
root
/
org.magiclib.plugins
/
MagicFakeBeamPlugin
Magic
Fake
Beam
Plugin
open
class
MagicFakeBeamPlugin
Members
Constructors
Magic
Fake
Beam
Plugin
Link copied to clipboard
constructor
(
)
Types
fake
Beam
Data
Link copied to clipboard
open
class
fakeBeamData
Functions
add
Beam
Link copied to clipboard
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
init
Link copied to clipboard
open
fun
init
(
engine
:
CombatEngineAPI
)
render
In
World
Coords
Link copied to clipboard
open
fun
renderInWorldCoords
(
view
:
ViewportAPI
)
Properties
BEAMS
Link copied to clipboard
open
var
BEAMS
:
List
<
MagicFakeBeamPlugin.fakeBeamData
>