GenMeshPlane method

Mesh GenMeshPlane(
  1. num width,
  2. num length,
  3. num resX,
  4. num resZ,
)

Generate plane mesh (with subdivisions)

Implementation

Mesh GenMeshPlane(
  num width,
  num length,
  num resX,
  num resZ,
) => run(
  () => _debugLabels.GenMeshPlane(width, length, resX, resZ),
  () => _flat.GenMeshPlane(
    width.toDouble(),
    length.toDouble(),
    resX.toInt(),
    resZ.toInt(),
  ),
);