Fork me on GitHub

API Documentation


Extends GLGE.JSONLoader, GLGE.QuickNotation.
Class to describe and action on a skeleton
Defined in: glge_action.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Adds and action channel to this action
 
Removes and action channel to this action
 
setFrames(frame)
Sets the number of frames to play
 
setStartFrame(startFrame)
Sets the start frame for all animations
 
start(blendTime, loop, names)
Starts playing the action
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Class Detail
GLGE.Action(uid)
Parameters:
{string} uid
a unique reference string for this object
Method Detail
addActionChannel(channel)
Adds and action channel to this action
Parameters:
{GLGE.ActionChannel} channel
the channel to be added

removeActionChannel(channel)
Removes and action channel to this action
Parameters:
{GLGE.ActionChannel} channel
the channel to be removed

setFrames(frame)
Sets the number of frames to play
Parameters:
{number} frame
the number of frames to play

setStartFrame(startFrame)
Sets the start frame for all animations
Parameters:
{number} startFrame
the starting frame for the animation

start(blendTime, loop, names)
Starts playing the action
Parameters:
blendTime
loop
names

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