Class "Point"⚓︎
Used for Beam.
Constructors⚓︎
Beam ()⚓︎
Point Point ( Vector Position, float SpritesheetCoordinate, float Width = 1.0, Color Color = Default, boolean IsWorldSpace = false )⚓︎
Functions⚓︎
GetColor ()⚓︎
Color GetColor ( )⚓︎
The color the Beam should be at this Point. This is interpolated between points.
GetIsWorldSpace ()⚓︎
boolean GetIsWorldSpace ( )⚓︎
If this is set, Position
will be automatically converted from worldspace to screenspace during rendering.
GetSpritesheetCoordinate ()⚓︎
float GetSpritesheetCoordinate ( )⚓︎
The Y
position of the spritesheet that should be drawn by the time this Point is reached. For example, two points of 0
and 64
SpritesheetCoordinate will render the spritesheet starting from y 0
to y 64
, while an additional third point of 0
will draw it in reverse from y 64
to y 0
.
GetWidth ()⚓︎
float GetWidth ( )⚓︎
A multiplier for how wide the beam should be. A non-zero value will scale the spritesheet width accordingly. This is interpolated between points.
GetPosition ()⚓︎
Vector GetPosition ( )⚓︎
Where (in screenspace) to render the Point.