A part of a mesh which uses a single material.
array< vector2 > __getVertexTexcoords(uint index)
Returns texture coordinates of all vertices.
const string & getMaterialName()
Name of the material used by this submesh.
IndexType __getIndexType()
Returns the format of the index buffer - use it to pick __getIndexBuffer16bit() or __getIndexBuffer32...
void setMaterialName(const string &in name, const string &in rg)
Sets the material used by this submesh.
array< vector3 > __getVertexPositions()
Returns positions of all vertices.
array< uint16 > __getIndexBuffer16bit()
Returns the index buffer; only works if __getIndexType() is IT_16BIT.
array< uint > __getIndexBuffer32bit()
Returns the index buffer; only works if __getIndexType() is IT_32BIT.
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...