Moai SDK  1.5 revision 1 (MoaiEdition)
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
MOAIAction Base class for actions.
Constants Description
MOAIAction.EVENT_STOP ID of event stop callback. Signature is: nil onStop ()
MOAIActionMgr Manager class for MOAIActions
MOAIAnim Bind animation curves to nodes and provides timer controls for animation playback
MOAIAnimCurve Implementation of animation curve for floating point values
MOAIAnimCurveBase Piecewise animation function with one input (time) and one output (value). This is the base class for typed animation curves (float, quaternion, etc.).
Attributes
MOAIAnimCurveBase.ATTR_TIME
MOAIAnimCurveBase.ATTR_VALUE
MOAIAnimCurveBase.CLAMP
MOAIAnimCurveBase.WRAP
MOAIAnimCurveBase.MIRROR
MOAIAnimCurveBase.APPEND
MOAIAnimCurveQuat Implementation of animation curve for rotation (via quaternion) values
MOAIAnimCurveVec Implementation of animation curve for 3D vector values
MOAIAppAndroid Wrapper for base application class on Android devices. Exposed to Lua via MOAIApp on all mobile platforms.
Constants Description
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 physical device back button was pressed.
MOAIAppIOS Wrapper for base application class on iOS devices. Exposed to Lua via MOAIApp on all mobile platforms.
Constants Description
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'.
MOAIAppIOS.INTERFACE_ORIENTATION_PORTRAIT Interface orientation UIInterfaceOrientationPortrait.
MOAIAppIOS.INTERFACE_ORIENTATION_PORTRAIT_UPSIDE_DOWN Interface orientation UIInterfaceOrientationPortraitUpsideDown.
MOAIAppIOS.INTERFACE_ORIENTATION_LANDSCAPE_LEFT Interface orientation UIInterfaceOrientationLandscapeLeft.
MOAIAppIOS.INTERFACE_ORIENTATION_LANDSCAPE_RIGHT Interface orientation UIInterfaceOrientationLandscapeRight.
MOAIBillingAndroid Wrapper 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.
Constants Description
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.
MOAIBillingIOS Wrapper 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.
Constants Description
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
MOAIBox2DArbiter Box2D Arbiter.
Flags
MOAIBox2DArbiter.BEGIN
MOAIBox2DArbiter.END
MOAIBox2DArbiter.POST_SOLVE
MOAIBox2DArbiter.PRE_SOLVE
MOAIBox2DArbiter.ALL
MOAIBox2DBody Box2D body.
Constants
MOAIBox2DBody.DYNAMIC
MOAIBox2DBody.KINEMATIC
MOAIBox2DBody.STATIC
MOAIBox2DDistanceJoint Box2D distance joint
MOAIBox2DFixture Box2D fixture
MOAIBox2DFrictionJoint Box2D friction joint
MOAIBox2DGearJoint Box2D gear joint
MOAIBox2DJoint Box2D joint
MOAIBox2DMouseJoint Box2D 'mouse' joint
MOAIBox2DPrismaticJoint Box2D prismatic joint
MOAIBox2DPulleyJoint Box2D pulley joint
MOAIBox2DRevoluteJoint Box2D revolute joint
MOAIBox2DRopeJoint Box2D rope joint
MOAIBox2DWeldJoint Box2D weld joint
MOAIBox2DWheelJoint Box2D wheel joint
MOAIBox2DWorld Box2D 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
MOAIBreakpoint Internal breakpoint definition class
MOAIBrowserAndroid Wrapper for access to the native web browser. Exposed to Lua via MOAIBrowser on all mobile platforms
MOAIBrowserIOS Wrapper for access to the native web browser. Exposed to Lua via MOAIBrowser on all mobile platforms
MOAIButtonSensor Button sensor
MOAICamera Perspective or orthographic camera
MOAICamera2D 2D camera
MOAICameraAnchor2D Attaches fitting information to a transform. Used by MOAICameraFitter2D
MOAICameraFitter2D Action 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
MOAIColor Color 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
MOAICompassSensor Device heading sensor
MOAICoroutine Binds a Lua coroutine to a MOAIAction
MOAICp Singleton for Chipmunk global configuration
MOAICpArbiter Chipmunk Arbiter
MOAICpBody Chipmunk Body.
Constants
MOAICpBody.NONE
MOAICpBody.REMOVE_BODY
MOAICpBody.REMOVE_BODY_AND_SHAPES
MOAICpConstraint Chipmunk Constraint
MOAICpShape Chipmunk Shape
MOAICpSpace Chipmunk Space.
Flags
MOAICpSpace.BEGIN
MOAICpSpace.PRE_SOLVE
MOAICpSpace.POST_SOLVE
MOAICpSpace.SEPARATE
MOAICpSpace.ALL
MOAICrittercismAndroid Wrapper 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
MOAICrittercismIOS Wrapper 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
MOAIDataBuffer Buffer for loading and holding data. Data operations may be performed without additional penalty of marshalling buffers between Lua and C
MOAIDataBufferStream MOAIDataBufferStream locks an associated MOAIDataBuffer for reading and writing
MOAIDebugLines Singleton 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
MOAIDeck Base class for decks
MOAIDeckRemapper Remap 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
MOAIDialogAndroid Wrapper for a simple native dialog implementation on Android devices. Exposed to Lua via MOAIDialog on all mobile platforms.
Constants Description
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.
MOAIDialogIOS Wrapper for a simple native dialog implementation on iOS devices. Exposed to Lua via MOAIDialog on all mobile platforms.
Constants Description
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.
MOAIDraw Singleton for performing immediate mode drawing operations. See MOAIScriptDeck
MOAIEaseDriver Action that applies simple ease curves to node attributes
MOAIEaseType Namespace to hold ease modes. Moai ease in/out has opposite meaning of Flash ease in/out.
Constants Description
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
MOAIEventSource Base class for all Lua-bound Moai objects that emit events and have an event table
MOAIFacebookAndroid Wrapper 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.
Constants Description
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.
MOAIFacebookAndroid.REQUEST_RESPONSE Event code for graph request responses.
MOAIFacebookAndroid.REQUEST_RESPONSE_FAILED Event code for failed graph request responses.
MOAIFacebookIOS Wrapper 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.
Constants Description
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.
MOAIFacebookIOS.REQUEST_RESPONSE Event code for graph request responses.
MOAIFacebookIOS.REQUEST_RESPONSE_FAILED Event code for failed graph request responses.
MOAIFileStream MOAIFileStream opens a system file handle for reading or writing.
Constants
MOAIFileStream.READ
MOAIFileStream.READ_WRITE
MOAIFileStream.READ_WRITE_AFFIRM
MOAIFileStream.READ_WRITE_NEW
MOAIFileStream.WRITE
MOAIFileSystem Functions for manipulating the file system
MOAIFmodEventInstance An instance of an FMOD Event Not to be confused with an Event, MOAIFmodEvent
MOAIFmodEventMgr Event Manager singleton that provides an interface to all implemented FMOD Designer features
MOAIFmodEx FMOD singleton
MOAIFmodExChannel FMOD singleton
MOAIFmodExSound FMOD singleton
MOAIFmodMicrophone The in-game Microphone, with respect to which all the sounds are heard in the game. The Event Manager (MOAIFmodEventManager) must be initialized before the Microphone can be accessed. Should only be grabbed from MOAIFmodEventMgr
MOAIFont
MOAIFoo Example 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)
MOAIFooMgr Example 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)
MOAIFrameBuffer MOAIFrameBuffer 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
MOAIFrameBufferTexture This 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
MOAIGameCenterIOS Wrapper for iOS GameCenter functionality.
Constants Description
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.
MOAIGfxDevice Interface to the graphics singleton.
Constants
MOAIGfxDevice.EVENT_RESIZE
MOAIGfxQuad2D Single textured quad
MOAIGfxQuadDeck2D Deck of textured quads
MOAIGfxQuadListDeck2D Deck 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 indices if geometry is used in multiple lists
MOAIGfxResource Base class for graphics resources owned by OpenGL. Implements resource lifecycle including restoration from a lost graphics context (if possible)
MOAIGfxState Abstract base class for objects that represent changes to graphics state
MOAIGlobalEventSource Derivation of MOAIEventSource for global Lua objects
MOAIGlyphCache
MOAIGlyphCacheBase
MOAIGooglePlayServicesAndroid Wrapper for Google Play services
MOAIGrid Grid data object. Grid cells are indexed starting and (1,1). Grid indices will wrap if out of range
MOAIGridDeck2D This 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
MOAIGridPathGraph Pathfinder graph adapter for MOAIGrid
MOAIGridSpace Represents 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
MOAIHarness Internal debugging and hooking class
MOAIHashWriter MOAIHashWriter 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
MOAIHttpTaskBase Object for performing asynchronous HTTP/HTTPS tasks.
Constants
MOAIHttpTaskBase.HTTP_GET
MOAIHttpTaskBase.HTTP_HEAD
MOAIHttpTaskBase.HTTP_POST
MOAIHttpTaskBase.HTTP_PUT
MOAIHttpTaskBase.HTTP_DELETE
MOAIHttpTaskNaCl Implementation of MOAIHttpTask based on NaCl
MOAIHttpTaskNSURL Implementation of MOAIHttpTask based on libcurl
MOAIImage Image/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
MOAIImageTexture Binds 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
MOAIIndexBuffer Index buffer class. Unused at this time
MOAIInputDevice Manager class for input bindings. Has no public methods
MOAIInputMgr Input device class. Has no public methods
MOAIInstanceEventSource Derivation of MOAIEventSource for non-global Lua objects
MOAIJoystickSensor Analog and digital joystick sensor
MOAIKeyboardAndroid
MOAIKeyboardIOS
MOAIKeyboardSensor Hardware keyboard sensor
MOAILayer Scene 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
MOAILayer2D 2D 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
MOAILayerBridge 2D transform for connecting transforms across scenes. Useful for HUD overlay items and map pins
MOAILocationSensor Location services sensor
MOAILogMgr Singleton for managing debug log messages and log level.
Constants
MOAILogMgr.LOG_NONE
MOAILogMgr.LOG_ERROR
MOAILogMgr.LOG_WARNING
MOAILogMgr.LOG_STATUS
MOAIMemStream MOAIMemStream implements an in-memory stream and grows as needed. The memory 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
MOAIMesh Loads 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
MOAIMobileAppTrackerIOS Wrapper for WebAppTracker interface
MOAIMotionSensor Gravity/acceleration sensor
MOAIMoviePlayerAndroid Wrapper for simple video playback. Exposed to Lua via MOAIMoviePlayer on all mobile platforms
MOAIMoviePlayerIOS Wrapper for simple video playback. Exposed to Lua via MOAIMoviePlayer on all mobile platforms
MOAIMultiTexture Array of textures for multi-texturing
MOAINode Base for all attribute bearing Moai objects and dependency graph nodes
MOAINotificationsAndroid Wrapper for push notification integration on Android devices. Exposed to Lua via MOAINotifications on all mobile platforms.
Constants Description
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.
MOAINotificationsIOS Wrapper for push notification integration on iOS devices. Exposed to Lua via MOAINotifications on all mobile platforms.
Constants Description
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.
MOAIParticleCallbackPlugin Allows custom particle processing via C language callbacks
MOAIParticleDistanceEmitter Particle emitter
MOAIParticleEmitter Particle emitter
MOAIParticleForce Particle force.
Constants
MOAIParticleForce.FORCE
MOAIParticleForce.GRAVITY
MOAIParticleForce.OFFSET
MOAIParticlePexPlugin Allows custom particle processing derived from .pex file via C language callback
MOAIParticlePlugin Allows custom particle processing
MOAIParticleScript Particle 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
MOAIParticleState Particle state
MOAIParticleSystem Particle system
MOAIParticleTimedEmitter Particle emitter
MOAIPartition Class 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
MOAIPartitionResultBuffer Class for optimizing spatial queries against sets of primitives. Configure for performance; default behavior is a simple list
MOAIPathFinder Object for maintaining pathfinding state
MOAIPathTerrainDeck Terrain specifications for use with pathfinding graphs. Contains indexed terrain types for graph nodes
MOAIPointerSensor Pointer sensor
MOAIProp Base 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
MOAIProp2D 2D prop
MOAIRenderable Abstract base class for objects that can be rendered by MOAIRenderMgr
MOAIRenderMgr MOAIRenderMgr 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
MOAIScissorRect Class for clipping props when drawing
MOAIScriptDeck Scriptable deck object
MOAIScriptNode User scriptable dependency node. User may specify Lua callback to handle node updating as well as custom floating point attributes
MOAISensor Base class for sensors
MOAISerializer Manages 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
MOAIShader Programmable 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
MOAIShader.UNIFORM_WORLD_VIEW_PROJ
MOAIShaderMgr Shader presets.
Constants
MOAIShaderMgr.DECK2D_SHADER
MOAIShaderMgr.DECK2D_TEX_ONLY_SHADER
MOAIShaderMgr.FONT_SHADER
MOAIShaderMgr.LINE_SHADER
MOAIShaderMgr.MESH_SHADER
MOAISim Sim timing and settings class.
Constants Description
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
MOAIStaticGlyphCache This 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 ()
MOAIStream Interface for reading/writing binary data.
Constants
MOAIStream.SEEK_CUR
MOAIStream.SEEK_END
MOAIStream.SEEK_SET
MOAIStreamReader MOAIStreamReader 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')
MOAIStreamWriter MOAIStreamWriter 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')
MOAIStretchPatch2D Moai implementation of a 9-patch. Textured quad with any number of stretchable and non-stretchable 'bands.' Grid drawing not supported
MOAISurfaceDeck2D Deck of surface edge lists. Unused in this version of Moai
MOAITapjoyAndroid Wrapper 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.
Constants Description
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.
MOAITapjoyIOS Wrapper 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.
Constants Description
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
MOAITextBundle A 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()
MOAITextStyle Represents a style that may be applied to a text box or a section of text in a text box using a style escape
MOAITexture Texture class
MOAITextureBase Base 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
MOAITileDeck2D Subdivides a single texture into uniform tiles enumerated from the texture's left top to right bottom
MOAITimer Timer class for driving curves and animations.
Constants Description
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
MOAITouchSensor Multitouch sensor. Tracks up to 16 simultaneous touches.
Constants
MOAITouchSensor.TOUCH_DOWN
MOAITouchSensor.TOUCH_MOVE
MOAITouchSensor.TOUCH_UP
MOAITouchSensor.TOUCH_CANCEL
MOAITransform Transformation 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
MOAITransform2D 2D 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
MOAITransformBase Base 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
MOAITwitterAndroid Wrapper for Twitter integration on Android devices. Twitter provides social integration for sharing on www.twitter.com.
Constants Description
MOAITwitterAndroid.TWEET_SUCCESSFUL Event indicating a successful Tweet..
MOAITwitterAndroid.TWEET_CANCELLED Event indicating an unsuccessful Tweet.
MOAITwitterAndroid.SESSION_DID_LOGIN Event indicating a successfully completed Twitter login.
MOAITwitterAndroid.SESSION_DID_NOT_LOGIN Event indicating an unsuccessful (or canceled) Twitter login.
MOAITwitterIOS Wrapper for Twitter interaction on iOS devices. Only available on iOS 5.0 and above.
Constants Description
MOAITwitterIOS.TWEET_SUCCESSFUL Event indicating a successful Tweet.
MOAITwitterIOS.TWEET_CANCELLED Event indicating an unsuccessful Tweet.
MOAIUntzSampleBuffer Uncompressed WAV data held in memory. May be shared between multiple MOAIUntzSound objects
MOAIUntzSound Untz sound object.
Attributes
MOAIUntzSound.ATTR_VOLUME
MOAIUntzSystem Untz system singleton
MOAIVertexBuffer Vertex buffer class
MOAIVertexFormat Vertex format class
MOAIViewport Viewport object
MOAIWebViewIOS Wrapper for UIWebView interaction on iOS devices.
Constants Description
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.
MOAIWheelSensor Hardware wheel sensor