Moai SDK SNAPSHOT (build 42)

Class List

Here are the classes, structs, unions and interfaces with brief descriptions:
MOAIActionBase class for actions.
ConstantsDescription
MOAIAction.EVENT_STOP ID of event stop callback. Signature is: nil onStop ()
MOAIActionMgrManager class for MOAIActions
MOAIAnimBind anim curves to nodes and provides timer controls for anim playback
MOAIAnimCurveImplementation of anim curve for floating point values
MOAIAnimCurveBasePiecewise animation function with one input (time) and one output (value). This is the base class for typed anim curves (float, quaternion, etc.).
Attributes
MOAIAnimCurveBase.ATTR_TIME
MOAIAnimCurveBase.ATTR_VALUE
MOAIAnimCurveBase.CLAMP
MOAIAnimCurveBase.WRAP
MOAIAnimCurveBase.MIRROR
MOAIAnimCurveBase.APPEND
MOAIAnimCurveQuatImplementation of anim curve for rotation (via quaternion) values
MOAIAnimCurveVecImplementation of anim curve for 3D vector values
MOAIAppAndroidWrapper for base application class on Android devices. Exposed to lua via MOAIApp on all mobile platforms.
ConstantsDescription
MOAIAppAndroid.SESSION_START Event code indicating the beginning of an app session.
MOAIAppAndroid.SESSION_END Event code indicating the end of an app sessions.
MOAIAppAndroid.BACK_BUTTON_PRESSED Event code indicating that the pysical device back button was pressed.
MOAIAppIOSWrapper for base application class on iOS devices. Exposed to lua via MOAIApp on all mobile platforms.
ConstantsDescription
MOAIAppIOS.APP_OPENED_FROM_URL Event code indicating that the app was stared via a URL click.
MOAIAppIOS.SESSION_START Event code indicating the beginning of an app session.
MOAIAppIOS.SESSION_END Event code indicating the end of an app sessions.
MOAIAppIOS.DOMAIN_DOCUMENTS Directory domain 'documents'.
MOAIAppIOS.DOMAIN_APP_SUPPORT Directory domain 'application support'.
MOAIAppIOS.DOMAIN_CACHES Directory domain 'caches'.
MOAIAudioSamplerAudio sampler singleton
MOAIBillingAndroidWrapper for in-app purchase integration on Android devices using either Google Play or Amazon. Exposed to lua via MOAIBilling on all mobile platforms, but API differs on iOS and Android.
ConstantsDescription
MOAIBillingAndroid.CHECK_BILLING_SUPPORTED Event code for billing support request completion.
MOAIBillingAndroid.PURCHASE_RESPONSE_RECEIVED Event code for item purchase request receipt.
MOAIBillingAndroid.PURCHASE_STATE_CHANGED Event code for item purchase state change (purchased, refunded, etc.).
MOAIBillingAndroid.RESTORE_RESPONSE_RECEIVED Event code for restore purchases request receipt.
MOAIBillingAndroid.USER_ID_DETERMINED Event code for user ID request completion.
MOAIBillingAndroid.BILLING_PROVIDER_GOOGLE Provider code for Google Play.
MOAIBillingAndroid.BILLING_PROVIDER_AMAZON Provider code for Amazon.
MOAIBillingAndroid.BILLING_RESULT_SUCCESS Error code for a successful billing request.
MOAIBillingAndroid.BILLING_RESULT_USER_CANCELED Error code for a billing request canceled by the user, if detected.
MOAIBillingAndroid.BILLING_RESULT_BILLING_UNAVAILABLE Error code for a billing request attempted with no billing provider present.
MOAIBillingAndroid.BILLING_RESULT_ITEM_UNAVAILABLE Error code for a billing request for an unavailable item.
MOAIBillingAndroid.BILLING_RESULT_ERROR Error code for a billing request error.
MOAIBillingAndroid.BILLING_PURCHASE_STATE_ITEM_PURCHASED Purchase state code for a successfully purchased item.
MOAIBillingAndroid.BILLING_PURCHASE_STATE_PURCHASE_CANCELED Purchase state code for a canceled purchase.
MOAIBillingAndroid.BILLING_PURCHASE_STATE_ITEM_REFUNDED Purchase state code for a refunded/revoked purchase.
MOAIBillingIOSWrapper for in-app purchase integration on iOS devices using Apple StoreKit. Exposed to lua via MOAIBilling on all mobile platforms, but API differs on iOS and Android.
ConstantsDescription
MOAIBillingIOS.PAYMENT_QUEUE_TRANSACTION Event invoked when a transaction changes state.
MOAIBillingIOS.PAYMENT_QUEUE_ERROR Event invoked when a transaction fails.
MOAIBillingIOS.PRODUCT_REQUEST_RESPONSE Event invoked when a product information request completes.
MOAIBillingIOS.PRODUCT_RESTORE_FINISHED Event invoked when a transactions restore is finished.
MOAIBillingIOS.TRANSACTION_STATE_PURCHASING Error code indicating a transaction in progress.
MOAIBillingIOS.TRANSACTION_STATE_PURCHASED Error code indicating a completed transaction.
MOAIBillingIOS.TRANSACTION_STATE_FAILED Error code indicating a failed transaction.
MOAIBillingIOS.TRANSACTION_STATE_RESTORED Error code indicating a restored transaction.
MOAIBillingIOS.TRANSACTION_STATE_CANCELLED Error code indicating a canceled transaction.
MOAIBitmapFontReader
MOAIBoundsDeck
MOAIBox2DArbiterBox2D Arbiter.
Flags
MOAIBox2DArbiter.BEGIN
MOAIBox2DArbiter.END
MOAIBox2DArbiter.POST_SOLVE
MOAIBox2DArbiter.PRE_SOLVE
MOAIBox2DArbiter.ALL
MOAIBox2DBodyBox2D body.
Constants
MOAIBox2DBody.DYNAMIC
MOAIBox2DBody.KINEMATIC
MOAIBox2DBody.STATIC
MOAIBox2DDistanceJointBox2D distance joint
MOAIBox2DFixtureBox2D fixture
MOAIBox2DFrictionJointBox2D friction joint
MOAIBox2DGearJointBox2D gear joint
MOAIBox2DJointBox2D joint
MOAIBox2DMouseJointBox2D 'mouse' joint
MOAIBox2DPrismaticJointBox2D prismatic joint
MOAIBox2DPulleyJointBox2D pulley joint
MOAIBox2DRevoluteJointBox2D revolute joint
MOAIBox2DRopeJointBox2D weld joint
MOAIBox2DWeldJointBox2D weld joint
MOAIBox2DWheelJointBox2D weld joint
MOAIBox2DWorldBox2D world.
Constants
MOAIBox2DWorld.DEBUG_DRAW_SHAPES
MOAIBox2DWorld.DEBUG_DRAW_JOINTS
MOAIBox2DWorld.DEBUG_DRAW_BOUNDS
MOAIBox2DWorld.DEBUG_DRAW_PAIRS
MOAIBox2DWorld.DEBUG_DRAW_CENTERS
MOAIBox2DWorld.DEBUG_DRAW_DEFAULT
MOAIBreakpointInternal breakpoint definition class
MOAIButtonSensorButton sensor
MOAICameraPerspective or orthographic camera
MOAICamera2D2D camera
MOAICameraAnchor2DAttaches fitting information to a transform. Used by MOAICameraFitter2D
MOAICameraFitter2DAction to dynamically fit a camera transform to a set of targets given a viewport and world space constraints.
Constants
MOAICameraFitter2D.FITTING_MODE_SEEK_LOC
MOAICameraFitter2D.FITTING_MODE_SEEK_SCALE
MOAICameraFitter2D.FITTING_MODE_APPLY_ANCHORS
MOAICameraFitter2D.FITTING_MODE_APPLY_BOUNDS
MOAICameraFitter2D.FITTING_MODE_DEFAULT
MOAICameraFitter2D.FITTING_MODE_MASK
MOAIColorColor vector with animation helper methods.
Attributes
MOAIColor.ATTR_R_COL
MOAIColor.ATTR_G_COL
MOAIColor.ATTR_B_COL
MOAIColor.ATTR_A_COL
MOAIColor.INHERIT_COLOR
MOAIColor.COLOR_TRAIT
MOAICompassSensorDevice heading sensor
MOAICoroutineBinds a Lua coroutine to a MOAIAction
MOAICpSingleton for Chipmunk global configuration
MOAICpArbiterChipmunk Arbiter
MOAICpBodyChipmunk Body.
Constants
MOAICpBody.NONE
MOAICpBody.REMOVE_BODY
MOAICpBody.REMOVE_BODY_AND_SHAPES
MOAICpConstraintChipmunk Constraint
MOAICpShapeChipmunk Shape
MOAICpSpaceChipmunk Space.
Flags
MOAICpSpace.BEGIN
MOAICpSpace.PRE_SOLVE
MOAICpSpace.POST_SOLVE
MOAICpSpace.SEPARATE
MOAICpSpace.ALL
MOAICrittercismAndroidWrapper for Crittercism integration on Android devices. Crittercism provides real-time, actionable crash reports for mobile apps. Exposed to lua via MOAICrittercism on all mobile platforms
MOAICrittercismIOSWrapper for Crittercism integration on iOS devices. Crittercism provides real-time, actionable crash reports for mobile apps. Exposed to lua via MOAICrittercism on all mobile platforms
MOAIDataBufferBuffer for loading and holding data. Data operations may be performed without additional penalty of marshalling buffers between Lua and C
MOAIDataBufferStreamMOAIDataBufferStream locks an associated MOAIDataBuffer for reading and writing
MOAIDebugLinesSingleton for managing rendering of world space debug vectors.
Constants
MOAIDebugLines.PARTITION_CELLS
MOAIDebugLines.PARTITION_PADDED_CELLS
MOAIDebugLines.PROP_MODEL_BOUNDS
MOAIDebugLines.PROP_WORLD_BOUNDS
MOAIDebugLines.TEXT_BOX
MOAIDebugLines.TEXT_BOX_BASELINES
MOAIDebugLines.TEXT_BOX_LAYOUT
MOAIDeckBase class for decks
MOAIDeckRemapperRemap deck indices. Most useful for controlling animated tiles in tilemaps. All indices are exposed as attributes that may be connected by setAttrLink or driven using MOAIAnim or MOAIAnimCurve
MOAIDialogAndroidWrapper for a simple native dialog implementation on Android devices. Exposed to lua via MOAIDialog on all mobile platforms.
ConstantsDescription
MOAIDialogAndroid.DIALOG_RESULT_POSITIVE Result code when the dialog is dismissed by pressing the positive button.
MOAIDialogAndroid.DIALOG_RESULT_NEUTRAL Result code when the dialog is dismissed by pressing the neutral button.
MOAIDialogAndroid.DIALOG_RESULT_NEGATIVE Result code when the dialog is dismissed by pressing the negative button.
MOAIDialogAndroid.DIALOG_RESULT_CANCEL Result code when the dialog is dismissed by pressing the cancel button.
MOAIDialogIOSWrapper for a simple native dialog implementation on iOS devices. Exposed to lua via MOAIDialog on all mobile platforms.
ConstantsDescription
MOAIDialogIOS.DIALOG_RESULT_POSITIVE Result code when the dialog is dismissed by pressing the positive button.
MOAIDialogIOS.DIALOG_RESULT_NEUTRAL Result code when the dialog is dismissed by pressing the neutral button.
MOAIDialogIOS.DIALOG_RESULT_NEGATIVE Result code when the dialog is dismissed by pressing the negative button.
MOAIDialogIOS.DIALOG_RESULT_CANCEL Result code when the dialog is dismissed by pressing the cancel button.
MOAIDrawSingleton for performing immediate mode drawing operations. See MOAIScriptDeck
MOAIEaseDriverAction that applies simple ease curves to node attributes
MOAIEaseTypeNamespace to hold ease modes. Moai ease in/out has opposite meaning of Flash ease in/out.
ConstantsDescription
MOAIEaseType.EASE_IN Quartic ease in - Fast start then slow when approaching value; ease into position.
MOAIEaseType.EASE_OUT Quartic ease out - Slow start then fast when approaching value; ease out of position.
MOAIEaseType.FLAT Stepped change - Maintain original value until end of ease.
MOAIEaseType.LINEAR Linear interpolation.
MOAIEaseType.SHARP_EASE_IN Octic ease in.
MOAIEaseType.SHARP_EASE_OUT Octic ease out.
MOAIEaseType.SHARP_SMOOTH Octic smooth.
MOAIEaseType.SMOOTH Quartic ease out then ease in.
MOAIEaseType.SOFT_EASE_IN Quadratic ease in.
MOAIEaseType.SOFT_EASE_OUT Quadratic ease out.
MOAIEaseType.SOFT_SMOOTH Quadratic smooth.
MOAIEnvironment
MOAIEventSourceBase class for all Lua-bound Moai objects that emit events and have an event table
MOAIFacebookAndroidWrapper for Facebook integration on Android devices. Facebook provides social integration for sharing on www.facebook.com. Exposed to lua via MOAIFacebook on all mobile platforms.
ConstantsDescription
MOAIFacebookAndroid.DIALOG_DID_COMPLETE Event code for a successfully completed Facebook dialog.
MOAIFacebookAndroid.DIALOG_DID_NOT_COMPLETE Event code for a failed (or canceled) Facebook dialog.
MOAIFacebookAndroid.SESSION_DID_LOGIN Event code for a successfully completed Facebook login.
MOAIFacebookAndroid.SESSION_DID_NOT_LOGIN Event code for a failed (or canceled) Facebook login.
MOAIFacebookIOSWrapper for Facebook integration on iOS devices. Facebook provides social integration for sharing on www.facebook.com. Exposed to lua via MOAIFacebook on all mobile platforms.
ConstantsDescription
MOAIFacebookIOS.DIALOG_DID_COMPLETE Event code for a successfully completed Facebook dialog.
MOAIFacebookIOS.DIALOG_DID_NOT_COMPLETE Event code for a failed (or canceled) Facebook dialog.
MOAIFacebookIOS.SESSION_DID_LOGIN Event code for a successfully completed Facebook login.
MOAIFacebookIOS.SESSION_DID_NOT_LOGIN Event code for a failed (or canceled) Facebook login.
MOAIFileStreamMOAIFileStream opens a system file handle for eading or writing.
Constants
MOAIFileStream.READ
MOAIFileStream.READ_WRITE
MOAIFileStream.READ_WRITE_AFFIRM
MOAIFileStream.READ_WRITE_NEW
MOAIFileStream.WRITE
MOAIFileSystemFunctions for manipulating the file system
MOAIFmodExFMOD singleton
MOAIFmodExChannelFMOD singleton
MOAIFmodExSoundFMOD singleton
MOAIFont
MOAIFooExample class for extending Moai using MOAILuaObject. Copy this object, rename it and add your own stuff. Just don't forget to register it with the runtime using the REGISTER_LUA_CLASS macro (see moaicore.cpp)
MOAIFooMgrExample singleton for extending Moai using MOAILuaObject. Copy this object, rename it and add your own stuff. Just don't forget to register it with the runtime using the REGISTER_LUA_CLASS macro (see moaicore.cpp)
MOAIFrameBufferMOAIFrameBuffer is responsible for drawing a list of MOAIRenderable objects. MOAIRenderable is the base class for any object that can be drawn. This includes MOAIProp and MOAILayer. To use MOAIFrameBuffer pass a table of MOAIRenderable objects to setRenderTable (). The table will usually be a stack of MOAILayer objects. The contents of the table will be rendered the next time a frame is drawn. Note that the table must be an array starting with index 1. Objects will be rendered counting from the base index until 'nil' is encountered. The render table may include other tables as entries. These must also be arrays indexed from 1
MOAIFrameBufferTextureThis is an implementation of a frame buffer that may be attached to a MOAILayer for offscreen rendering. It is also a texture that may be bound and used like any other
MOAIFreeTypeFontReaderImplementation of MOAIFontReader that based on FreeType 2. Can load and render TTF and OTF font files
MOAIGameCenterIOSWrapper for iOS GameCenter functionality.
ConstantsDescription
MOAIGameCenterIOS.TIMESCOPE_TODAY Get leaderboard scores for today.
MOAIGameCenterIOS.TIMESCOPE_WEEK Get leaderboard scores for the week.
MOAIGameCenterIOS.TIMESCOPE_ALLTIME Get leaderboard scores for all time.
MOAIGameCenterIOS.PLAYERSCOPE_GLOBAL Get leaderboard scores for everyone.
MOAIGameCenterIOS.PLAYERSCOPE_FRIENDS Get leaderboard scores only for active player's friends.
MOAIGfxDeviceInterface to the graphics singleton.
Constants
MOAIGfxDevice.EVENT_RESIZE
MOAIGfxQuad2DSingle textured quad
MOAIGfxQuadDeck2DDeck of textured quads
MOAIGfxQuadListDeck2DDeck of lists of textured quads. UV and model space quads are specified independently and associated via pairs. Pairs are referenced by lists sequentially. There may be multiple pairs with the same UV/model quad indicices if geometry is used in multiple lists
MOAIGfxResourceBase class for graphics resources owned by OpenGL. Implements resource lifecycle including restoration from a lost graphics context (if possible)
MOAIGfxStateAbstract base class for objects that represent changes to graphics state
MOAIGlobalEventSourceDerivation of MOAIEventSource for global lua objects
MOAIGlyphCache
MOAIGlyphCacheBase
MOAIGridGrid data object. Grid cells are indexed starting and (1,1). Grid indices will wrap if out of range
MOAIGridDeck2DThis deck renders 'brushes' which are sampled from a tile map. The tile map is specified by the attached grid, deck and remapper. Each 'brush' defines a rectangle of tiles to draw and an offset
MOAIGridPathGraphPathfinder graph adapter for MOAIGrid
MOAIGridSpaceRepresents spatial configuration of a grid. The grid is made up of cells. Inside of each cell is a tile. The tile can be larger or smaller than the cell and also offset from the cell. By default, tiles are the same size of their cells and are no offset.
Constants
MOAIGridSpace.TILE_BOTTOM_CENTER
MOAIGridSpace.TILE_CENTER
MOAIGridSpace.TILE_LEFT_BOTTOM
MOAIGridSpace.TILE_LEFT_CENTER
MOAIGridSpace.TILE_LEFT_TOP
MOAIGridSpace.TILE_RIGHT_BOTTOM
MOAIGridSpace.TILE_RIGHT_CENTER
MOAIGridSpace.TILE_RIGHT_TOP
MOAIGridSpace.TILE_TOP_CENTER
MOAIGridSpace.SQUARE_SHAPE
MOAIGridSpace.DIAMOND_SHAPE
MOAIGridSpace.OBLIQUE_SHAPE
MOAIGridSpace.HEX_SHAPE
Flags
MOAIGridSpace.TILE_X_FLIP
MOAIGridSpace.TILE_Y_FLIP
MOAIGridSpace.TILE_XY_FLIP
MOAIGridSpace.TILE_HIDE
MOAIHarnessInternal debugging and hooking class
MOAIHashWriterMOAIHashWriter may be attached to another stream for the purpose of computing a hash while writing data to the other stream. Currently only MD5 and SHA256 are available
MOAIHttpTaskBaseObject for performing asynchronous HTTP/HTTPS tasks.
Constants
MOAIHttpTaskBase.HTTP_GET
MOAIHttpTaskBase.HTTP_HEAD
MOAIHttpTaskBase.HTTP_POST
MOAIHttpTaskBase.HTTP_PUT
MOAIHttpTaskBase.HTTP_DELETE
MOAIHttpTaskNaClImplementation of MOAIHttpTask based on NaCl
MOAIImageImage/bitmap class.
Constants
MOAIImage.FILTER_LINEAR
MOAIImage.FILTER_NEAREST
Flags
MOAIImage.POW_TWO
MOAIImage.QUANTIZE
MOAIImage.TRUECOLOR
MOAIImage.PREMULTIPLY_ALPHA
MOAIImage.PIXEL_FMT_TRUECOLOR
MOAIImage.PIXEL_FMT_INDEX_4
MOAIImage.PIXEL_FMT_INDEX_8
MOAIImage.COLOR_FMT_A_8
MOAIImage.COLOR_FMT_RGB_888
MOAIImage.COLOR_FMT_RGB_565
MOAIImage.COLOR_FMT_RGBA_5551
MOAIImage.COLOR_FMT_RGBA_4444
MOAIImage.COLOR_FMT_RGBA_8888
MOAIImageTextureBinds an image (CPU memory) to a texture (GPU memory). Regions of the texture (or the entire texture) may be invalidated. Invalidated regions will be reloaded into GPU memory the next time the texture is bound
MOAIIndexBufferIndex buffer class. Unused at this time
MOAIInputDeviceManager class for input bindings. Has no public methods
MOAIInputMgrInput device class. Has no public methods
MOAIInstanceEventSourceDerivation of MOAIEventSource for non-global lua objects
MOAIJoystickSensorAnalog and digital joystick sensor
MOAIJsonParserConverts between Lua and JSON
MOAIKeyboardAndroid
MOAIKeyboardIOS
MOAIKeyboardSensorHardware keyboard sensor
MOAILayerScene controls class.
Constants
MOAILayer.SORT_NONE
MOAILayer.SORT_ISO
MOAILayer.SORT_PRIORITY_ASCENDING
MOAILayer.SORT_PRIORITY_DESCENDING
MOAILayer.SORT_X_ASCENDING
MOAILayer.SORT_X_DESCENDING
MOAILayer.SORT_Y_ASCENDING
MOAILayer.SORT_Y_DESCENDING
MOAILayer.SORT_Z_ASCENDING
MOAILayer.SORT_Z_DESCENDING
MOAILayer.SORT_VECTOR_ASCENDING
MOAILayer.SORT_VECTOR_DESCENDING
MOAILayer2D2D layer.
Constants
MOAILayer2D.SORT_NONE
MOAILayer2D.SORT_PRIORITY_ASCENDING
MOAILayer2D.SORT_PRIORITY_DESCENDING
MOAILayer2D.SORT_X_ASCENDING
MOAILayer2D.SORT_X_DESCENDING
MOAILayer2D.SORT_Y_ASCENDING
MOAILayer2D.SORT_Y_DESCENDING
MOAILayer2D.SORT_VECTOR_ASCENDING
MOAILayer2D.SORT_VECTOR_DESCENDING
MOAILayerBridge2D transform for connecting transforms across scenes. Useful for HUD overlay items and map pins
MOAILocationSensorLocation services sensor
MOAILogMgrSingleton for managing debug log messages and log level.
Constants
MOAILogMgr.LOG_NONE
MOAILogMgr.LOG_ERROR
MOAILogMgr.LOG_WARNING
MOAILogMgr.LOG_STATUS
MOAIMemStreamMOAIMemStream implements an in-memory stream and grows as needed. The mem stream expands on demands by allocating additional 'chunks' or memory. The chunk size may be configured by the user. Note that the chunks are not guaranteed to be contiguous in memory
MOAIMeshLoads a texture and renders the contents of a vertex buffer. Grid drawing not supported.
Constants
MOAIMesh.GL_POINTS
MOAIMesh.GL_LINES
MOAIMesh.GL_TRIANGLES
MOAIMesh.GL_LINE_LOOP
MOAIMesh.GL_LINE_STRIP
MOAIMesh.GL_TRIANGLE_FAN
MOAIMesh.GL_TRIANGLE_STRIP
MOAIMotionSensorGravity/acceleration sensor
MOAIMoviePlayerAndroidWrapper for simple video playback. Exposed to lua via MOAIMoviePlayer on all mobile platforms
MOAIMoviePlayerIOSWrapper for simple video playback. Exposed to lua via MOAIMoviePlayer on all mobile platforms
MOAIMultiTextureAttay of textures for multi-texturing
MOAINodeBase for all attribute bearing Moai objects and dependency graph nodes
MOAINotificationsAndroidWrapper for push notification integration on Android devices. Exposed to lua via MOAINotifications on all mobile platforms.
ConstantsDescription
MOAINotificationsAndroid.LOCAL_NOTIFICATION_MESSAGE_RECEIVED Event code for a local notification message receipt.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_REGISTRATION_COMPLETE Event code for notification registration completion.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_MESSAGE_RECEIVED Event code for a push notification message receipt.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_RESULT_REGISTERED Error code for a successful notification registration.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_RESULT_UNREGISTERED Error code for a successful notification deregistration.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_RESULT_ERROR Error code for a failed notification registration or deregistration.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_NONE Notification type none. Unused.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_BADGE Notification type icon badges. Unused.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_SOUND Notification type sound. Unused.
MOAINotificationsAndroid.REMOTE_NOTIFICATION_ALERT Notification type alerts. Unused.
MOAINotificationsIOSWrapper for push notification integration on iOS devices. Exposed to lua via MOAINotifications on all mobile platforms.
ConstantsDescription
MOAINotificationsIOS.REMOTE_NOTIFICATION_REGISTRATION_COMPLETE Event code for notification registration completion.
MOAINotificationsIOS.REMOTE_NOTIFICATION_MESSAGE_RECEIVED Event code for a push notification message receipt.
MOAINotificationsIOS.REMOTE_NOTIFICATION_RESULT_REGISTERED Error code for a successful notification registration.
MOAINotificationsIOS.REMOTE_NOTIFICATION_RESULT_UNREGISTERED Error code for a successful notification deregistration.
MOAINotificationsIOS.REMOTE_NOTIFICATION_RESULT_ERROR Error code for a failed notification registration or deregistration.
MOAINotificationsIOS.REMOTE_NOTIFICATION_NONE Notification type none.
MOAINotificationsIOS.REMOTE_NOTIFICATION_BADGE Notification type icon badges.
MOAINotificationsIOS.REMOTE_NOTIFICATION_SOUND Notification type sound.
MOAINotificationsIOS.REMOTE_NOTIFICATION_ALERT Notification type alerts.
MOAIParserParses strings using a LALR parser. Generates an abstract syntax tree that may then be traversed in Lua. To use, load a CGT file generated by GOLD Parser Builder. Thanks to Devin Cook: http://www.devincook.com/goldparser
MOAIParticleCallbackPluginAllows custom particle processing via C language callbacks
MOAIParticleDistanceEmitterParticle emitter
MOAIParticleEmitterParticle emitter
MOAIParticleForceParticle force.
Constants
MOAIParticleForce.FORCE
MOAIParticleForce.GRAVITY
MOAIParticleForce.OFFSET
MOAIParticlePexPluginAllows custom particle processing derived from .pex file via C language callback
MOAIParticlePluginAllows custom particle processing
MOAIParticleScriptParticle script.
Constants
MOAIParticleScript.PARTICLE_X
MOAIParticleScript.PARTICLE_Y
MOAIParticleScript.PARTICLE_DX
MOAIParticleScript.PARTICLE_DY
MOAIParticleScript.SPRITE_X_LOC
MOAIParticleScript.SPRITE_Y_LOC
MOAIParticleScript.SPRITE_ROT
MOAIParticleScript.SPRITE_X_SCL
MOAIParticleScript.SPRITE_Y_SCL
MOAIParticleScript.SPRITE_RED
MOAIParticleScript.SPRITE_GREEN
MOAIParticleScript.SPRITE_BLUE
MOAIParticleScript.SPRITE_OPACITY
MOAIParticleScript.SPRITE_GLOW
MOAIParticleScript.SPRITE_IDX
MOAIParticleStateParticle state
MOAIParticleSystemParticle system
MOAIParticleTimedEmitterParticle emitter
MOAIPartitionClass for optimizing spatial queries against sets of primitives. Configure for performance; default behavior is a simple list.
Constants
MOAIPartition.PLANE_XY
MOAIPartition.PLANE_XZ
MOAIPartition.PLANE_YZ
MOAIPartitionResultBufferClass for optimizing spatial queries against sets of primitives. Configure for performance; default behavior is a simple list
MOAIPathFinderObject for maintaining pathfinding state
MOAIPathTerrainDeckTerrain specifications for use with pathfinding graphs. Contains indexed terrain types for graph nodes
MOAIPointerSensorPointer sensor
MOAIPropBase class for props.
Constants
MOAIProp.FRAME_FROM_DECK
MOAIProp.FRAME_FROM_PARENT
MOAIProp.FRAME_FROM_SELF
MOAIProp.BLEND_NORMAL
MOAIProp.BLEND_ADD
MOAIProp.BLEND_MULTIPLY
MOAIProp.GL_FUNC_ADD
MOAIProp.GL_FUNC_SUBTRACT
MOAIProp.GL_FUNC_REVERSE_SUBTRACT
MOAIProp.GL_ONE
MOAIProp.GL_ZERO
MOAIProp.GL_DST_ALPHA
MOAIProp.GL_DST_COLOR
MOAIProp.GL_SRC_COLOR
MOAIProp.GL_ONE_MINUS_DST_ALPHA
MOAIProp.GL_ONE_MINUS_DST_COLOR
MOAIProp.GL_ONE_MINUS_SRC_ALPHA
MOAIProp.GL_ONE_MINUS_SRC_COLOR
MOAIProp.GL_SRC_ALPHA
MOAIProp.GL_SRC_ALPHA_SATURATE
MOAIProp.DEPTH_TEST_DISABLE
MOAIProp.DEPTH_TEST_NEVER
MOAIProp.DEPTH_TEST_LESS
MOAIProp.DEPTH_TEST_EQUAL
MOAIProp.DEPTH_TEST_LESS_EQUAL
MOAIProp.DEPTH_TEST_GREATER
MOAIProp.DEPTH_TEST_NOTEQUAL
MOAIProp.DEPTH_TEST_GREATER_EQUAL
MOAIProp.DEPTH_TEST_ALWAYS
MOAIProp.CULL_NONE
MOAIProp.CULL_ALL
MOAIProp.CULL_BACK
MOAIProp.CULL_FRONT
Attributes
MOAIProp.ATTR_INDEX
MOAIProp2D2D prop
MOAIRenderableAbstract base class for objects that can be rendered by MOAIRenderMgr
MOAIRenderMgrMOAIRenderMgr is responsible for drawing a list of MOAIRenderable objects. MOAIRenderable is the base class for any object that can be drawn. This includes MOAIProp and MOAILayer. To use MOAIRenderMgr pass a table of MOAIRenderable objects to MOAIRenderMgr.setRenderTable (). The table will usually be a stack of MOAILayer objects. The contents of the table will be rendered the next time a frame is drawn. Note that the table must be an array starting with index 1. Objects will be rendered counting from the base index until 'nil' is encountered. The render table may include other tables as entries. These must also be arrays indexed from 1
MOAISafariIOSWrapper for access to the native web browser
MOAIScissorRectClass for clipping props when drawing
MOAIScriptDeckScriptable deck object
MOAIScriptNodeUser scriptable dependency node. User may specify Lua callback to handle node updating as well as custom floating point attributes
MOAISensorBase class for sensors
MOAISerializerManages serialization state of Lua tables and Moai objects. The serializer will produce a Lua script that, when executed, will return the ordered list of objects added to it using the serialize () function
MOAIShaderProgrammable shader class.
Constants
MOAIShader.UNIFORM_COLOR
MOAIShader.UNIFORM_FLOAT
MOAIShader.UNIFORM_INT
MOAIShader.UNIFORM_PEN_COLOR
MOAIShader.UNIFORM_SAMPLER
MOAIShader.UNIFORM_TRANSFORM
MOAIShader.UNIFORM_VIEW_PROJ
MOAIShader.UNIFORM_WORLD
MOAIShader.UNIFORM_WORLD_VIEW_PROJ
MOAIShaderMgrShader presets. const DECK2D_SHADER const DECK2D_TEX_ONLY_SHADER const FONT_SHADER const LINE_SHADER const MESH_SHADER
MOAISimSim timing and settings class.
ConstantsDescription
MOAISim.EVENT_FINALIZE
MOAISim.EVENT_PAUSE
MOAISim.EVENT_RESUME
MOAISim.SIM_LOOP_FORCE_STEP
MOAISim.SIM_LOOP_ALLOW_BOOST
MOAISim.SIM_LOOP_ALLOW_SPIN
MOAISim.SIM_LOOP_NO_DEFICIT
MOAISim.SIM_LOOP_NO_SURPLUS
MOAISim.SIM_LOOP_RESET_CLOCK
MOAISim.SIM_LOOP_ALLOW_SOAK
MOAISim.LOOP_FLAGS_DEFAULT
MOAISim.LOOP_FLAGS_FIXED
MOAISim.LOOP_FLAGS_MULTISTEP
MOAISim.DEFAULT_STEPS_PER_SECOND Value is 60
MOAISim.DEFAULT_BOOST_THRESHOLD Value is 3
MOAISim.DEFAULT_LONG_DELAY_THRESHOLD Value is 10
MOAISim.DEFAULT_CPU_BUDGET Value is 2
MOAISim.DEFAULT_STEP_MULTIPLIER Value is 1
MOAIStaticGlyphCacheThis is the default implementation of a static glyph cache. All is does is accept an image via setImage () and create a set of textures from that image. It does not implement getImage ()
MOAIStreamInterface for reading/writing binary data.
Constants
MOAIStream.SEEK_CUR
MOAIStream.SEEK_END
MOAIStream.SEEK_SET
MOAIStreamReaderMOAIStreamReader may be attached to another stream for the purpose of decoding and/or decompressing bytes read from that stream using a given algorithm (such as base64 or 'deflate')
MOAIStreamWriterMOAIStreamWriter may be attached to another stream for the purpose of encoding and/or compressing bytes written to that stream using a given algorithm (such as base64 or 'deflate')
MOAIStretchPatch2DMoai implementation of a 9-patch. Textured quad with any number of stretchable and non-stretchable 'bands.' Grid drawing not supported
MOAISurfaceDeck2DDeck of surface edge lists. Unused in this version of Moai
MOAITapjoyAndroidWrapper for Tapjoy integration on Android devices. Tapjoy provides a turnkey advertising platform that delivers cost-effective, high-value new users and helps apps make money. Exposed to lua via MOAITapjoy on all mobile platforms.
ConstantsDescription
MOAITapjoyAndroid.TAPJOY_VIDEO_AD_BEGIN Event code for Tapjoy video ad playback begin. Unused.
MOAITapjoyAndroid.TAPJOY_VIDEO_AD_CLOSE Event code for Tapjoy video ad playback completion.
MOAITapjoyAndroid.TAPJOY_VIDEO_AD_ERROR Event code for Tapjoy video ad playback errors.
MOAITapjoyAndroid.TAPJOY_VIDEO_AD_READY Event code for Tapjoy video ad playback availability.
MOAITapjoyAndroid.TAPJOY_VIDEO_STATUS_NO_ERROR Error code for success.
MOAITapjoyAndroid.TAPJOY_VIDEO_STATUS_MEDIA_STORAGE_UNAVAILABLE Error code for inadequate storage for video ad.
MOAITapjoyAndroid.TAPJOY_VIDEO_STATUS_NETWORK_ERROR_ON_INIT_VIDEOS Error code for network error.
MOAITapjoyAndroid.TAPJOY_VIDEO_STATUS_UNABLE_TO_PLAY_VIDEO Error code for playback error.
MOAITapjoyIOSWrapper for Tapjoy integration on iOS devices. Tapjoy provides a turnkey advertising platform that delivers cost-effective, high-value new users and helps apps make money. Exposed to lua via MOAITapjoy on all mobile platforms.
ConstantsDescription
MOAITapjoyIOS.TAPJOY_VIDEO_AD_BEGIN Event code for Tapjoy video ad playback begin.
MOAITapjoyIOS.TAPJOY_VIDEO_AD_CLOSE Event code for Tapjoy video ad playback completion.
MOAITapjoyIOS.TAPJOY_VIDEO_AD_ERROR Event code for Tapjoy video ad playback errors. Unused.
MOAITapjoyIOS.TAPJOY_VIDEO_AD_READY Event code for Tapjoy video ad playback availability. Unused.
MOAITapjoyIOS.TAPJOY_VIDEO_STATUS_NO_ERROR Error code for success. Unused.
MOAITapjoyIOS.TAPJOY_VIDEO_STATUS_MEDIA_STORAGE_UNAVAILABLE Error code for inadequate storage for video ad. Unused.
MOAITapjoyIOS.TAPJOY_VIDEO_STATUS_NETWORK_ERROR_ON_INIT_VIDEOS Error code for network error. Unused.
MOAITapjoyIOS.TAPJOY_VIDEO_STATUS_UNABLE_TO_PLAY_VIDEO Error code for playback error. Unused.
MOAITextBox
MOAITextBundleA read-only lookup table of strings suitable for internationalization purposes. This currently wraps a loaded gettext() style MO file (see http://www.gnu.org/software/gettext/manual/gettext.html). So you are going to want to generate the .mo file from one of the existing tools such as poedit or msgfmt, and then load that file using this class. Then you can lookup strings using MOAITextBundle->Lookup()
MOAITextStyleRepresents a style that may be applied to a text box or a secion of text in a text box using a style escape
MOAITextureTexture class
MOAITextureBaseBase class for texture resources.
Constants
MOAITextureBase.GL_LINEAR
MOAITextureBase.GL_LINEAR_MIPMAP_LINEAR
MOAITextureBase.GL_LINEAR_MIPMAP_NEAREST
MOAITextureBase.GL_NEAREST
MOAITextureBase.GL_NEAREST_MIPMAP_LINEAR
MOAITextureBase.GL_NEAREST_MIPMAP_NEAREST
MOAITileDeck2DSubdivides a single texture into uniform tiles enumerated from the texture's left top to right bottom
MOAITimerTimer class for driving curves and animations.
ConstantsDescription
MOAITimer.NORMAL
MOAITimer.REVERSE
MOAITimer.CONTINUE
MOAITimer.CONTINUE_REVERSE
MOAITimer.LOOP
MOAITimer.LOOP_REVERSE
MOAITimer.PING_PONG
MOAITimer.EVENT_TIMER_KEYFRAME ID of event stop callback. Signature is: nil onKeyframe ( MOAITimer self, number keyframe, number timesExecuted, number time, number value )
MOAITimer.EVENT_TIMER_LOOP ID of event loop callback. Signature is: nil onLoop ( MOAITimer self, number timesExecuted )
MOAITimer.EVENT_TIMER_BEGIN_SPAN Called when timer starts or after roll over (if looping). Signature is: nil onBeginSpan ( MOAITimer self, number timesExecuted )
MOAITimer.EVENT_TIMER_END_SPAN Called when timer ends or before roll over (if looping). Signature is: nil onEndSpan ( MOAITimer self, number timesExecuted )
Attributes
MOAITimer.ATTR_TIME
MOAITouchSensorMultitouch sensor. Tracks up to 16 simultaneous touches.
Constants
MOAITouchSensor.TOUCH_DOWN
MOAITouchSensor.TOUCH_MOVE
MOAITouchSensor.TOUCH_UP
MOAITouchSensor.TOUCH_CANCEL
MOAITransformTransformation hierarchy node.
Attributes
MOAITransform.ATTR_X_PIV
MOAITransform.ATTR_Y_PIV
MOAITransform.ATTR_Z_PIV
MOAITransform.ATTR_X_LOC
MOAITransform.ATTR_Y_LOC
MOAITransform.ATTR_Z_LOC
MOAITransform.ATTR_X_ROT
MOAITransform.ATTR_Y_ROT
MOAITransform.ATTR_Z_ROT
MOAITransform.ATTR_X_SCL
MOAITransform.ATTR_Y_SCL
MOAITransform.ATTR_Z_SCL
MOAITransform.ATTR_ROTATE_QUAT
MOAITransform.ATTR_TRANSLATE
MOAITransform.INHERIT_LOC
MOAITransform.INHERIT_TRANSFORM
MOAITransform2D2D transformation hierarchy node.
Attributes
MOAITransform2D.ATTR_X_PIV
MOAITransform2D.ATTR_Y_PIV
MOAITransform2D.ATTR_X_LOC
MOAITransform2D.ATTR_Y_LOC
MOAITransform2D.ATTR_Z_ROT
MOAITransform2D.ATTR_X_SCL
MOAITransform2D.ATTR_Y_SCL
MOAITransform2D.INHERIT_LOC
MOAITransform2D.INHERIT_TRANSFORM
MOAITransformBaseBase class for 2D affine transforms.
Attributes
MOAITransformBase.ATTR_WORLD_X_LOC
MOAITransformBase.ATTR_WORLD_Y_LOC
MOAITransformBase.ATTR_WORLD_Z_LOC
MOAITransformBase.ATTR_WORLD_Z_ROT
MOAITransformBase.ATTR_WORLD_X_SCL
MOAITransformBase.ATTR_WORLD_Y_SCL
MOAITransformBase.ATTR_WORLD_Z_SCL
MOAITransformBase.TRANSFORM_TRAIT
MOAITwitterIOSWrapper for Twitter interaction on iOS devices. Only available on iOS 5.0 and above.
ConstantsDescription
MOAITwitterIOS.TWEET_SUCCESSFUL Event indicating a successful Tweet.
MOAITwitterIOS.TWEET_CANCELLED Event indicating an unsuccessful Tweet.
MOAIUntzSampleBufferUncompressed WAV data held in memory. May be shared between multiple MOAIUntzSound objects
MOAIUntzSoundUntz sound object.
Attributes
MOAIUntzSound.ATTR_VOLUME
MOAIUntzSystemUntz system singleton
MOAIVertexBufferVertex buffer class
MOAIVertexFormatVertex format class
MOAIViewportViewport object
MOAIWebViewIOSWrapper for UIWebView interaction on iOS devices.
ConstantsDescription
MOAIWebViewIOS.DID_FAIL_LOAD_WITH_ERROR Event indicating a failed UIWebView load.
MOAIWebViewIOS.SHOULD_START_LOAD_WITH_REQUEST Event indicating an attempt to load a UIWebView.
MOAIWebViewIOS.WEB_VIEW_DID_FINISH_LOAD Event indicating a completed UIWebView load.
MOAIWebViewIOS.WEB_VIEW_DID_START_LOAD Event indicating the start of a UIWebView load.
MOAIWebViewIOS.NAVIGATION_LINK_CLICKED Indicates the the navigation was due to a link click.
MOAIWebViewIOS.NAVIGATION_FORM_SUBMIT Indicates the the navigation was due to a form submit.
MOAIWebViewIOS.NAVIGATION_BACK_FORWARD Indicates the the navigation was due to a back/forward operation.
MOAIWebViewIOS.NAVIGATION_RELOAD Indicates the the navigation was due to a page reload.
MOAIWebViewIOS.NAVIGATION_FORM_RESUBMIT Indicates the the navigation was due to a form resubmit.
MOAIWebViewIOS.NAVIGATION_OTHER Indicates the the navigation was due to other reasons.
MOAIWheelSensorHardware wheel sensor
MOAIXmlParserConverts XML DOM to Lua trees. Provided as a convenience; not advised for parsing very large XML documents. (Use of XML not advised at all - use JSON or Lua.)
MOAIXmlWriterProvides functions to programmatically write an XML document