|
Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
| getLength | |
| reserveKeys | |
| setWrapMode | |
Return the largest key frame time value in the curve.
function getLength ( MOAIAnimCurveBase self )
| self | ( MOAIAnimCurveBase ) |
Reserve key frames.
function reserveKeys ( MOAIAnimCurveBase self, number nKeys )
| self | ( MOAIAnimCurveBase ) |
| nKeys | ( number ) |
Sets the wrap mode for values above 1.0 and below 0.0. CLAMP sets all values above and below 1.0 and 0.0 to values at 1.0 and 0.0 respectively.
function setWrapMode ( MOAIAnimCurveBase self [, number mode ] )
| self | ( MOAIAnimCurveBase ) |
| mode | ( number ) Optional. One of MOAIAnimCurveBase.CLAMP, MOAIAnimCurveBase.WRAP, MOAIAnimCurveBase.MIRROR, MOAIAnimCurveBase.APPEND. Default value is MOAIAnimCurveBase.CLAMP. |