Garry's Mod Wiki

IMesh

Renderable mesh object, can be used to create models on the fly. The only way to create your own IMesh object is to call Mesh.

IMeshes only respond to one projected texture.

Methods

IMesh:BuildFromTriangles( table vertexes )
Builds the mesh from a table mesh vertexes. See Mesh and util.GetModelMeshes for examples.
IMesh:Destroy()
Deletes the mesh and frees the memory used by it.
IMesh:Draw()
Renders the mesh with the active matrix.

Page Links


Special Pages


Wikis

?

Render Time: 25ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 9
Render Body 0
Render Sidebar 6