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.
A curve which interpolates between control points
Defined in: glge_animationcurve.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
GLGE.AnimationCurve(uid)
|
| Method Attributes | Method Name and Description |
|---|---|
|
addPoint(point)
Adds a point to the curve
|
|
|
atX(x, C1, C2, C3, C4)
Get the value of the a single bezier curve
|
|
|
coord(frame, y)
Get the value of the curve at any point
|
|
|
getValue(frame)
|
|
|
setChannel(channel)
Sets the animation channel this curve animates
|
- Methods borrowed from class GLGE.QuickNotation:
- _
- Methods borrowed from class GLGE.JSONLoader:
- getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Method Detail
{Number}
addPoint(point)
Adds a point to the curve
- Parameters:
- {object} point
- The point to add
- Returns:
- {Number} Index of the newly added point
{Number}
atX(x, C1, C2, C3, C4)
Get the value of the a single bezier curve
- Parameters:
- {Number} x
- xcoord of point to get
- {Number} C1
- First bezier control point
- {Number} C2
- Second bezier control point
- {Number} C3
- Third bezier control point
- {Number} C4
- Forth bezier control point
- Returns:
- {Number} The value of the curve at the given x
{Number}
coord(frame, y)
Get the value of the curve at any point
- Parameters:
- {Number} frame
- The frame(x-coord) to return the value for
- y
- Returns:
- {Number} The value of the curve at the given point
getValue(frame)
- Parameters:
- frame
setChannel(channel)
Sets the animation channel this curve animates
- Parameters:
- {string} channel
- The property to animate
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)