Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
apply | |
getLength | |
reserveLinks | |
setLink |
Apply the animation at a given time or time step.
function apply ( MOAIAnim self [, number t0 ] )
self | ( MOAIAnim ) |
t0 | ( number ) Optional. Default value is 0. |
function apply ( MOAIAnim self, number t0, number t1 )
self | ( MOAIAnim ) |
t0 | ( number ) |
t1 | ( number ) |
Connect a curve to a given node attribute.
function setLink ( MOAIAnim self, number linkID, MOAIAnimCurveBase curve, MOAINode target, number attrID [, boolean asDelta ] )
self | ( MOAIAnim ) |
linkID | ( number ) |
curve | ( MOAIAnimCurveBase ) |
target | ( MOAINode ) Target node. |
attrID | ( number ) Attribute of the target node to be driven by the curve. |
asDelta | ( boolean ) Optional. 'true' to apply the curve as a delta instead of an absolute. Default value is false. |