Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryGetPlaneTriangleIndicesArray Method

Returns an array of triangle indexes that can be used with vertex buffer created by SetPlaneVerticesArray(Vector3, Vector3, Vector3, Single, Single, Int32, Int32, PositionNormalTextureVertex, BoundingBox) method.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static int[] GetPlaneTriangleIndicesArray(
	int widthSegments,
	int heightSegments
)

Parameters

widthSegments  Int32
number of segments in the width direction
heightSegments  Int32
number of segments in the height direction

Return Value

Int32
array of triangle indexes
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.MeshFactory.GetPlaneTriangleIndicesArray(System.Int32,System.Int32)"]

See Also