Moai SDK
2.0
|
Function List | |
getHeading | |
setCallback | |
|
Returns the current heading according to the built-in compass.
function getHeading ( MOAICompassSensor self )
MOAICompassSensor | self |
|
Sets or clears the callback to be issued when the heading changes.
function setCallback ( MOAICompassSensor self [, function callback ] )
MOAICompassSensor | self |
function | callback Optional. Default value is nil. |