Pass:plane

Draws a plane.

Pass:plane(transform, style, columns, rows)

Arguments

NameTypeDefaultDescription
transformMat4 The transform of the plane. Can also be provided as a position, 2-component scale, and rotation using a combination of Vectors, and numbers.
styleDrawStyle'fill' Whether the plane should be drawn filled or outlined.
columnsnumber1 The number of horizontal segments in the plane.
rowsnumbercolumns The number of vertical segments in the plane.

Returns

Nothing

See also