Class: meshid

Mesh within a model. Typically contains vertices and indices, as well as material information.

Hierarchy

o-+ ressubid
  o-+ meshid

Interfaces:

Methods:

Method overview:


new (meshid,string name, int vertexcount, int indicescount, [texture/material name])
returns: ()
only works on empty meshes that were created by user.
boneid (meshid,[boneid])
returns: ([boneid])
returns or sets boneid it is linked to. Only makes sense if model is animateable).
material (meshid)
returns: ([material])
returns material of the mesh or nothing if there's no material
matsurface (meshid)
returns: ([matsurface])
returns or sets matsurface
name (meshid)
returns: ([string])
returns or sets name of mesh
skinid (meshid,[skinid])
returns: ([skinid])
returns or sets skinid it is linked to. Only makes sense if model is animateable).
texname (meshid)
returns: ([string])
returns original texturename (material / texture).
texture (meshid)
returns: ([texture])
returns texture of the mesh or nothing if there's no texture

Inherited Methods:

From ressubid

hostinfo