Skip to content

TriangleVertex

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

TriangleVertex

TriangleVertex:Int32 surface:Int32, index:Int32, vertex:Int32
Parameter Mode Type Default Description
surface In Int32 required Surface handle.
index In Int32 required
vertex In Int32 required

Returns: The index of the vertex.

Description

Tells which vertex is at a corner of a triangle, which is how you walk over the triangles of a mesh. Corners are 0, 1 and 2, in the order the triangle was added with.

Related Commands

AddTriangle, AddVertex, VertexAlpha, VertexBlue, VertexColor, VertexCoords, VertexGreen, VertexNormal

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally