Moai SDK
2.0
|
Function List | |
isVisible | |
setBillboard | |
setParent | |
setScissorRect | |
setUVTransform | |
setVisible | |
![]() | |
getBounds | |
getDims | |
getPartition | |
getPriority | |
getWorldBounds | |
inside | |
setBounds | |
setExpandForSort | |
setHitGranularity | |
setPriority | |
![]() | |
addLoc | |
addPiv | |
addRot | |
addScl | |
getLoc | |
getPiv | |
getRot | |
getScl | |
move | |
moveLoc | |
movePiv | |
moveRot | |
moveScl | |
seek | |
seekLoc | |
seekPiv | |
seekRot | |
seekScl | |
setLoc | |
setPiv | |
setRot | |
setScl | |
setShearByX | |
setShearByY | |
setShearByZ | |
![]() | |
getWorldDir | |
getWorldLoc | |
getWorldRot | |
getWorldScl | |
getWorldXAxis | |
getWorldYAxis | |
getWorldZAxis | |
getWorldXNormal | |
getWorldYNormal | |
getWorldZNormal | |
modelToWorld | |
setParent | |
worldToModel | |
![]() | |
getColor | |
moveColor | |
seekColor | |
setColor | |
setParent | |
Additional Inherited Members | |
![]() | |
clearAttrLink | |
clearNodeLink | |
forceUpdate | |
getAttr | |
getAttrLink | |
getNodeState | |
moveAttr | |
scheduleUpdate | |
seekAttr | |
setAttrLink | |
setAttr | |
setNodeLink | |
![]() | |
getListener | |
setListener | |
|
|
Returns true if the given prop is visible. An optional LOD factor may be passed in to test the prop's LOD settings.
function isVisible ( MOAIGraphicsPropBase self )
MOAIGraphicsPropBase | self |
|
Sets the prop's billboarding mode. One of BILLBOARD_NORMAL, BILLBOARD_ORTHO, BILLBOARD_COMPASS, BILLBOARD_SCREEN, BILLBOARD_NONE.
function setBillboard ( MOAIGraphicsPropBase self, boolean billboard, MOAIGraphicsPropBase self, number mode )
MOAIGraphicsPropBase | self |
boolean | billboard true == BILLBOARD_NORMAL, false == BILLBOARD_NONE |
MOAIGraphicsPropBase | self |
number | mode |
|
This method has been deprecated. Use MOAINode setAttrLink instead.
function setParent ( MOAIGraphicsPropBase self [, MOAINode parent ] )
MOAIGraphicsPropBase | self |
MOAINode | parent Optional. Default value is nil. |
|
Set or clear the prop's scissor rect.
function setScissorRect ( MOAIGraphicsPropBase self [, MOAIScissorRect scissorRect ] )
MOAIGraphicsPropBase | self |
MOAIScissorRect | scissorRect Optional. Default value is nil. |
|
Sets or clears the prop's UV transform.
function setUVTransform ( MOAIGraphicsPropBase self [, MOAITransformBase transform ] )
MOAIGraphicsPropBase | self |
MOAITransformBase | transform Optional. Default value is nil. |
|
Sets or clears the prop's visibility.
function setVisible ( MOAIGraphicsPropBase self [, boolean visible ] )
MOAIGraphicsPropBase | self |
boolean | visible Optional. Default value is true. |