Moai SDK  1.5 revision 1 (MoaiEdition)
MOAICameraAnchor2D Class Reference
Inheritance diagram for MOAICameraAnchor2D:
MOAINode MOAIInstanceEventSource MOAIEventSource

List of all members.

Function List

  setParent
  setRect

Function Documentation

Attach the anchor to a transform.


function setParent ( MOAICameraAnchor2D self [, MOAINode parent ] )
Parameters:
self ( MOAICameraAnchor2D )
parent ( MOAINode ) Optional.
Returns:
nil

Set the dimensions (in world units) of the anchor.


function setRect ( MOAICameraAnchor2D self, number xMin, number yMin, number xMax, number yMax )
Parameters:
self ( MOAICameraAnchor2D )
xMin ( number )
yMin ( number )
xMax ( number )
yMax ( number )
Returns:
nil