Fork me on GitHub

API Documentation


Extends GLGE.Group.
Class to represent a collada object
Defined in: glge_collada.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Gets the available actions from the collada file
 
 
get flag indicating if camera should be extracted from the collada document
 
getUseLights(uselights)
get flag indicating if lights should be extracted from the collada document
 
setDocument(node, relativeTo, cb)
loads an collada file from a given url
 
setMaterialOntoMesh(meshes, node)
 
set flag indicating if binary alpha should be used
 
set flag indicating if camera should be extracted from the collada document
 
set flag indicating if lights should be extracted from the collada document
Methods borrowed from class GLGE.Group:
addChild, addParticleSystem, downloadComplete, getBoundingVolume, getChildren, getLights, getNames, getObjects, getPickable, getVisible, isComplete, removeChild, setAction, setPickable, setVisible, updateAllPrograms
Methods borrowed from class GLGE.Animatable:
animate, blendTo, getAnimation, getBlendFunction, getFrameNumber, getFrameRate, getLoop, getName, getPaused, isLooping, setAnimation, setBlendFunction, setFrameRate, setLoop, setName, setPaused, setStartFrame, togglePaused
Methods borrowed from class GLGE.Events:
addEventListener, fireEvent, removeEventListener
Methods borrowed from class GLGE.Placeable:
clearStaticMatrix, getDLocX, getDLocY, getDLocZ, getDRotX, getDRotY, getDRotZ, getDScaleX, getDScaleY, getDScaleZ, getId, getInverseModelMatrix, getLocalMatrix, getLocX, getLocY, getLocZ, getLookat, getModelMatrix, getPosition, getQuatW, getQuatX, getQuatY, getQuatZ, getRef, getRoot, getRotation, getRotMatrix, getRotOrder, getRotX, getRotY, getRotZ, getScale, getScaleMatrix, getScaleX, getScaleY, getScaleZ, getTranslateMatrix, getTransposeInverseModelMatrix, getTransposeModelMatrix, getUpAxis, Lookat, move, setDLoc, setDLocX, setDLocY, setDLocZ, setDRot, setDRotX, setDRotY, setDRotZ, setDScale, setDScaleX, setDScaleY, setDScaleZ, setId, setLoc, setLocX, setLocY, setLocZ, setLookat, setQuat, setQuatW, setQuatX, setQuatY, setQuatZ, setRot, setRotMatrix, setRotOrder, setRotX, setRotY, setRotZ, setScale, setScaleX, setScaleY, setScaleZ, setStaticMatrix, setTransformMode, setUpAxis
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Events borrowed from class GLGE.Group:
childAdded, childRemoved, downloadComplete
Events borrowed from class GLGE.Animatable:
animFinished
Events borrowed from class GLGE.Placeable:
appened, childMatrixUpdate, matrixUpdate, removed
Class Detail
GLGE.Collada(uid)
Parameters:
uid
Method Detail
{object} getColladaActions()
Gets the available actions from the collada file
Returns:
{object} all the available actions within the collada file

getExceptions()

{boolean} getUseCamera()
get flag indicating if camera should be extracted from the collada document
Returns:
{boolean} node the value to parse

{boolean} getUseLights(uselights)
get flag indicating if lights should be extracted from the collada document
Parameters:
uselights
Returns:
{boolean} node the value to parse

setDocument(node, relativeTo, cb)
loads an collada file from a given url
Parameters:
{DOM Element} node
the value to parse
{string} relativeTo
optional the path the url is relative to
cb

setMaterialOntoMesh(meshes, node)
Parameters:
meshes
node

setUseBinaryAlpha(flag)
set flag indicating if binary alpha should be used
Parameters:
{boolean} flag
the flag indicating binary alpha use

setUseCamera(node)
set flag indicating if camera should be extracted from the collada document
Parameters:
{boolean} node
the value to parse

setUseLights(node)
set flag indicating if lights should be extracted from the collada document
Parameters:
{boolean} node
the value to parse

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)