Summary
Adds indices for a triangle starting at the current vertex count: [+0][+1][+2].
You will generally want to call this method before adding the associated vertices.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- MeshBuilder
Syntax
public void IndexTriangle(int subMesh = 0)
Parameters
| Name | Type | Description |
|---|---|---|
| subMesh | int |
Return Value
| Type | Description |
|---|---|
| void |