Garry's Mod Wiki

Garry's Mod Wiki

Description

A table structure containing the information required to create a mesh.

Returned by util.GetModelMeshes

Members

string material
The name or path of this mesh's material.
sequential table<table> triangles
A sequential table of MeshVertex Structures that represents the triangles of this mesh.

These triangles are created from the contents of the verticies field.

This can be used as an input to IMesh:BuildFromTriangles

sequential table<table> verticies
A sequential table of MeshVertex Structures that represents each vertex of the mesh.
This field has a typo in its name and should be named "vertices"

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...