Class Index | File Index

Classes


Class GLGE.Mesh

Creates a new mesh to associate with a mesh
Defined in: glge.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addBoneWeights(boneName, jsArray)
Sets the bone weights for a perticular bone
 
setFaces(jsArray)
Sets the faces for this mesh
 
setNormals(jsArray)
Sets the normals of the verticies
 
setPositions(jsArray)
Sets the positions of the verticies
 
setUV(jsArray)
Set the UV coord for the first UV layer
 
setUV2(jsArray)
Set the UV coord for the second UV layer
Class Detail
GLGE.Mesh()
See:
GLGE.Object
Method Detail
addBoneWeights(boneName, jsArray)
Sets the bone weights for a perticular bone
Parameters:
{String} boneName
The name of the bone
{Number[]} jsArray
The 1 dimentional array of weights

setFaces(jsArray)
Sets the faces for this mesh
Parameters:
{Number[]} jsArray
The 1 dimentional array of normals

setNormals(jsArray)
Sets the normals of the verticies
Parameters:
{Number[]} jsArray
The 1 dimentional array of normals

setPositions(jsArray)
Sets the positions of the verticies
Parameters:
{Number[]} jsArray
The 1 dimentional array of positions

setUV(jsArray)
Set the UV coord for the first UV layer
Parameters:
{Number[]} jsArray
the UV coords in a 1 dimentional array

setUV2(jsArray)
Set the UV coord for the second UV layer
Parameters:
{Number[]} jsArray
the UV coords in a 1 dimentional array

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Dec 21 2009 20:52:54 GMT-0000 (GMT)