Class Index | File Index

Classes


Class GLGE.AnimationVector

The AnimationVectors class allows you to specify the 2D Animation curves that define specific channels of animation within the engine.
Defined in: glge.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addCurve(channel, curve)
Adds an Animation Curve to a channel
 
Sets the number of frames in the animation
 
removeCurve(channel)
Removes an Animation Curve form a channel
 
setFrames(value)
Sets the number of frames in the animation
Class Detail
GLGE.AnimationVector()
Method Detail
addCurve(channel, curve)
Adds an Animation Curve to a channel
Parameters:
{String} channel
The name of the curve to be added
{GLGE.AnimationCurve} curve
The animation curve to add

{number} getFrames()
Sets the number of frames in the animation
Returns:
{number} The number of frames in the animation

removeCurve(channel)
Removes an Animation Curve form a channel
Parameters:
{String} channel
The name of the curve to be removed

setFrames(value)
Sets the number of frames in the animation
Parameters:
{number} value
The number of frames in the animation

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