Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VertexHelper.AddTriangle

public void AddTriangle(int idx0, int idx1, int idx2);

Parameters

idx0 Index 0.
idx1 Index 1.
idx2 Index 2.

Description

Add a triangle to the buffer.

Indicies are indicies into the positions array.