Garry's Mod Wiki

IMesh:BuildFromTriangles

  IMesh:BuildFromTriangles( table vertexes )

Description

Builds the mesh from a table mesh vertexes.

See Mesh and util.GetModelMeshes for examples.

Arguments

1 table vertexes
A table consisting of Structures/MeshVertexs.