RB.DrawLine
Method - Static
Parameters
p0
|
Vector2i
|
One end of the line
|
p1
|
Vector2i
|
The other end of the line
|
color
|
Color32
|
Color
|
thickness
|
int
|
Thickness of the line
|
pivot
|
Vector2i
|
Pivot point
|
rotation
|
float
|
Rotation in degrees, specified as an offset from the top left corner of an imaginary rectangle that would encompass the line
|
Returns
Nothing.
Description
Draw a line from point p0 to point p1 with the given color.
Optionally a pivot point, and rotation angle in degrees can also be specified.
Example
See Docs
Features - Primitives
|