Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
reserveLinks | |
setLink |
Reserve links.
function reserveLinks ( MOAIEaseDriver self, number nLinks )
self | ( MOAIEaseDriver ) |
nLinks | ( number ) |
Set the ease for a target node attribute.
function setLink ( MOAIEaseDriver self, number idx, MOAINode target, number attrID [, number value, number mode ] )
self | ( MOAIEaseDriver ) |
idx | ( number ) Index of the link; |
target | ( MOAINode ) Target node. |
attrID | ( number ) Index of the attribute to be driven. |
value | ( number ) Optional. Value for attribute at the end of the ease. Default is 0. |
mode | ( number ) Optional. The ease mode. One of MOAIEaseType.EASE_IN, MOAIEaseType.EASE_OUT, MOAIEaseType.FLAT MOAIEaseType.LINEAR, MOAIEaseType.SMOOTH, MOAIEaseType.SOFT_EASE_IN, MOAIEaseType.SOFT_EASE_OUT, MOAIEaseType.SOFT_SMOOTH. Defaults to MOAIEaseType.SMOOTH. |
function setLink ( MOAIEaseDriver self, number idx, MOAINode target, number attrID, MOAINode source, number sourceAttrID [, number mode ] )
self | ( MOAIEaseDriver ) |
idx | ( number ) Index of the link; |
target | ( MOAINode ) Target node. |
attrID | ( number ) Index of the attribute to be driven. |
source | ( MOAINode ) Node that you are linking to target. |
sourceAttrID | ( number ) Index of the attribute being linked. |
mode | ( number ) Optional. The ease mode. One of MOAIEaseType.EASE_IN, MOAIEaseType.EASE_OUT, MOAIEaseType.FLAT MOAIEaseType.LINEAR, MOAIEaseType.SMOOTH, MOAIEaseType.SOFT_EASE_IN, MOAIEaseType.SOFT_EASE_OUT, MOAIEaseType.SOFT_SMOOTH. Defaults to MOAIEaseType.SMOOTH. |