API Documentation
Classes
- _global_
- GLGE
- GLGE.Action
- GLGE.ActionChannel
- GLGE.Animatable
- GLGE.AnimationCurve
- GLGE.AnimationVector
- GLGE.Assets
- GLGE.BezTriple
- GLGE.Camera
- GLGE.Collada
- GLGE.Document
- GLGE.DocumentPreloader
- GLGE.Events
- GLGE.FilePreloader
- GLGE.FilterAO
- GLGE.FilterGlow
- GLGE.Group
- GLGE.GUI
- GLGE.HeightMap
- GLGE.JSONLoader
- GLGE.KeyInput
- GLGE.Light
- GLGE.LinearPoint
- GLGE.Material
- GLGE.MaterialLayer
- GLGE.MD2
- GLGE.Mesh
- GLGE.Message
- GLGE.MouseInput
- GLGE.MultiMaterial
- GLGE.Object
- GLGE.ObjectLod
- GLGE.ParticleSystem
- GLGE.PhysicsAbstract
- GLGE.PhysicsBox
- GLGE.PhysicsCar
- GLGE.PhysicsConstraintPoint
- GLGE.PhysicsMesh
- GLGE.PhysicsPlane
- GLGE.PhysicsSphere
- GLGE.PhysicsWheel
- GLGE.Placeable
- GLGE.QuickNotation
- GLGE.Renderer
- GLGE.Scene
- GLGE.Sphere
- GLGE.StepPoint
- GLGE.Text
- GLGE.Texture
- GLGE.TextureCamera
- GLGE.TextureCanvas
- GLGE.TextureCube
- GLGE.TextureVideo
- GLGE.Wavefront
- GUI.Gadget
- GUI.Preloader
- GUI.Progressbar
- GUI.Widget
Extends
GLGE.Object.
A quake MD2 model class
Defined in: glge_md2.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
GLGE.MD2(uid)
|
| Method Attributes | Method Name and Description |
|---|---|
|
animate(now, nocache)
|
|
|
Gets a list of availalbe animations
|
|
|
setAutoTangents(value)
Should GLGE Generate the tangents for the model
|
|
|
setMD2Animation(framerate, loop)
Sets the MD2 animation
|
|
|
setMD2Frame(frame)
Sets the MD2 frame number
|
|
|
setMD2FrameRate(framerate)
Sets the MD2 framerate
|
|
|
setSrc(url, relativeTo)
Sets the url of the MD2 model
|
- 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:
- 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
| Event Attributes | Event Name and Description |
|---|---|
|
md2AnimFinished(data)
|
- 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
Method Detail
animate(now, nocache)
- Parameters:
- now
- nocache
{array}
getAnimations()
Gets a list of availalbe animations
- Returns:
- {array} array
setAutoTangents(value)
Should GLGE Generate the tangents for the model
- Parameters:
- {boolean} value
- tflag inidcating auto generation of tangents
setMD2Animation(framerate, loop)
Sets the MD2 animation
- Parameters:
- {string} framerate
- the MD2 files framerate
- loop
setMD2Frame(frame)
Sets the MD2 frame number
- Parameters:
- {string} frame
- the frame to display
setMD2FrameRate(framerate)
Sets the MD2 framerate
- Parameters:
- {string} framerate
- the MD2 files framerate
setSrc(url, relativeTo)
Sets the url of the MD2 model
- Parameters:
- {string} url
- the url to the MD2 file
- relativeTo
Event Detail
md2AnimFinished(data)
- Parameters:
- {object} data
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)