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.JSONLoader, GLGE.QuickNotation.
The AnimationVectors class allows you to specify the 2D Animation curves that define specific channels of animation within the engine.
Defined in: glge_animationvector.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
GLGE.AnimationVector(uid)
|
| Method Attributes | Method Name and Description |
|---|---|
|
addAnimationCurve(channel, curve)
Adds an Animation Curve to a channel
|
|
|
Sets the number of frames in the animation
|
|
|
Gets the start fames
|
|
|
removeAnimationCurve(channel)
Removes an Animation Curve form a channel
|
|
|
setFrames(value)
Sets the number of frames in the animation
|
|
|
setStartFrame(value)
Sets the start frame
|
- Methods borrowed from class GLGE.QuickNotation:
- _
- Methods borrowed from class GLGE.JSONLoader:
- getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Method Detail
addAnimationCurve(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
{number}
getStartFrame()
Gets the start fames
- Returns:
- {number} The starting frame for the animation
removeAnimationCurve(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
setStartFrame(value)
Sets the start frame
- Parameters:
- {number} value
- The starting frame for the animation
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)