Method b3CreateGridMesh
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3CreateGridMesh(int, int, float, int, NativeBool)
Create a grid mesh along the x and z axes.
public static extern b3MeshData* b3CreateGridMesh(int xCount, int zCount, float cellWidth, int materialCount, NativeBool identifyEdges)Parameters
xCountint-
the number of rows in the x direction
zCountint-
the number of rows in the z direction
cellWidthfloat-
the width of each cell
materialCountint-
the number of materials to generate
identifyEdgesNativeBool-
compute adjacency information
Returns
- b3MeshData*
-
See the Box3D documentation.