IMesh:BuildFromTriangles
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.
Garry's Mod
Rust
Steamworks
Wiki Help