Fork me on GitHub

API Documentation


Extends GLGE.Object.
parses and displays a warefront object file with mtl material
Defined in: glge_wavefront.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
setSrc(url, relativeTo)
loads a wavefront ojvect from a given url
Methods borrowed from class GLGE.Object:
addMultiMaterial, downloadComplete, getBoundingVolume, getCastShadows, getCull, getDepthTest, getDrawType, getLineWidth, getMaterial, getMesh, getMeshBlendFactor, getMultiMaterials, getPickable, getPointSize, getSkeleton, getUniform, getUniformType, getVertexShaderInjection, getVisible, isComplete, isZtransparent, setCastShadows, setCull, setDepthTest, setDrawType, setLineWidth, setMaterial, setMesh, setMeshBlendFactor, setMeshFrame1, setMeshFrame2, setPickable, setPointSize, setSkeleton, setUniform, setVertexShaderInjection, setVisible, setZtransparent
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.Object:
downloadComplete, willRender
Events borrowed from class GLGE.Animatable:
animFinished
Events borrowed from class GLGE.Placeable:
appened, childMatrixUpdate, matrixUpdate, removed
Class Detail
GLGE.Wavefront(uid)
Parameters:
{string} uid
the unique id for this object
Method Detail
setSrc(url, relativeTo)
loads a wavefront ojvect from a given url
Parameters:
{DOM Element} url
the url to retrieve
{string} relativeTo
optional the path the url is relative to

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