Fork me on GitHub

API Documentation


Extends GLGE.PhysicsAbstract.
A wrapping class for jiglib spheres
Defined in: glge_physicsbox.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Gets the depth of the box
 
Gets the height of the box
 
Gets the width of the box
 
setDepth(value)
Sets the height of the box
 
setHeight(value)
Sets the height of the box
 
setWidth(value)
Sets the width of the box
Methods borrowed from class GLGE.PhysicsAbstract:
addBodyForce, addBodyTorque, addWorldForce, addWorldTorque, clearForces, getAngularVelocity, getAngularVelocityX, getAngularVelocityY, getAngularVelocityZ, getFriction, getLinearVelocityDamping, getMass, getModelMatrix, getMovable, getRestitution, getRotationalVelocityDamping, getType, getVelocity, getVelocityX, getVelocityY, getVelocityZ, preProcess, setAngularVelocity, setAngularVelocityX, setAngularVelocityY, setAngularVelocityZ, setFriction, setLinearVelocityDamping, setMass, setMovable, setRestitution, setRotationalVelocityDamping, setType, setVelocity, setVelocityX, setVelocityY, setVelocityZ
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, 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.PhysicsBox(uid)
Parameters:
uid
Method Detail
{number} getDepth()
Gets the depth of the box
Returns:
{number} The depth to set

{number} getHeight()
Gets the height of the box
Returns:
{number} The height to set

{number} getWidth()
Gets the width of the box
Returns:
{number} The width to set

setDepth(value)
Sets the height of the box
Parameters:
{number} value
The depth to set

setHeight(value)
Sets the height of the box
Parameters:
{number} value
The height to set

setWidth(value)
Sets the width of the box
Parameters:
{number} value
The width to set

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