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.

Issue Tracker: 2301

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.
boolean IMesh:IsValid()
Returns whether this IMesh is valid or not.

Page Links


Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 6