MeshBuilder.

Index2Triangles(int) Method

Summary

Adds indices for 2 triangles starting at the current vertex count: [+0][+1][+2] and [+0][+2][+3].

You will generally want to call this method before adding the associated vertices.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
MeshBuilder

Syntax

public void Index2Triangles(int subMesh = 0)

Parameters

Name Type Description
subMesh int

Return Value

Type Description
void