Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryAddPlaneTriangleIndices(Int32, Int32, IListInt32, Int32) Method

AddPlaneTriangleIndices adds triangle indexes to the specified list of triangle indices.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static void AddPlaneTriangleIndices(
	int widthSegments,
	int heightSegments,
	IList<int> triangleIndices,
	int startIndex
)

Parameters

widthSegments  Int32
number of segments in the width direction
heightSegments  Int32
number of segments in the height direction
triangleIndices  IListInt32
IList of integer items that represents triangle indices
startIndex  Int32
index value that is added to each added index
See Also