Static methods
staticinlineget_from_vector(start:Vector2, degrees:Float, length:Float):Line
Gets a Line with the defined start point, angle (in degrees), and length.
Parameters:
start | A Vector2 describing the starting position of the Line. |
---|---|
degrees | The angle of the Line (in degrees). |
length | The length of the Line. |
Variables
Methods
inlinepoint_along_ratio(ratio:Float):Vector2
Gets a position on the Line
at the specified ratio.
Parameters:
ratio | The ratio from the Line's |
---|
Returns:
Vector2
set_from_vector(start:Vector2, degrees:Float, length:Float):Line
Sets the Line with the defined start point, angle (in degrees), and length.
Parameters:
start | A Vector2 describing the starting position of the Line. |
---|---|
degrees | The angle of the Line (in degrees). |
length | The length of the Line. |