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:


boneid (meshid,[boneid])
returns: ([boneid])
returns or sets boneid it is linked to. Only makes sense if model is animateable).
init (meshid,string name, int vertexcount, int indicescount, [texture/material name])
returns: ()
only works on empty meshes that are hosted in model.create generated model. Fill with content via indexarray and vertexarray interfaces (don't forget to set indexCount and vertexCount and at the end indexMinmax!).
material (meshid)
returns: ([material])
returns material of the mesh or nothing if there's no material
matsurface (meshid)
returns: ([matsurface])
returns matsurface
name (meshid)
returns: ([string])
returns 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