Garry's Mod Wiki

Garry's Mod Wiki

  IMesh:BuildFromTriangles( table vertexes )

Description

Builds the mesh from a table mesh vertexes.

When modifying a previously built mesh, your new mesh must match the vertex count!

See Mesh and util.GetModelMeshes for examples.

IMesh appears to have a limit of 65535 vertices. You should split your mesh into multiple meshes when above this limit.

Exceeding the limit may lead to undefined rendering behavior.

Arguments

1 table vertexes
A table consisting of MeshVertex structures.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...