Pass:line

Edit

Draws a line between points. Pass:mesh can also be used to draw line segments using the line DrawMode.




Arguments

NameTypeDescription
x1number The x coordinate of the first point.
y1number The y coordinate of the first point.
z1number The z coordinate of the first point.
x2number The x coordinate of the next point.
y2number The y coordinate of the next point.
z2number The z coordinate of the next point.
...numbersnumber More points to add to the line.

Returns

Nothing

Arguments

NameTypeDescription
t{number | vector} A table of numbers or vectors (not a mix) representing points of the line.

Returns

Nothing

Arguments

NameTypeDescription
v1vector A vector containing the position of the first point of the line.
v2vector A vector containing the position of the next point on the line.
...vectorsvector More points to add to the line.

Returns

Nothing

Notes

There is currently no way to increase line thickness.

See also