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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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