plane

fun plane(width: Float, length: Float, resX: Int, resZ: Int): Mesh

Generates a plane mesh.

Return

The generated mesh.

Parameters

width

The width of the plane.

length

The length of the plane.

resX

The number of subdivisions in the X axis.

resZ

The number of subdivisions in the Z axis.