Moho API
LM interfaces:
- FREE_AXIS 6 number
- NEGX_AXIS 3 number
- NEGY_AXIS 4 number
- NEGZ_AXIS 5 number
- X_AXIS 0 number
- Y_AXIS 1 number
- Z_AXIS 2 number
- ColorVector table
- AsColorStruct function
- Invert function
- IsBlack function
- IsOpaque function
- IsTransparent function
- IsWhite function
- Mag function
- Normalize function
- Set function
- SquaredMag function
- delete function
- new function
- new_local function
- GUI table
- ALERT_INFO 0 number
- ALERT_QUESTION 2 number
- ALERT_WARNING 1 number
- ALIGN_BOTTOM 2 number
- ALIGN_CENTER 1 number
- ALIGN_FILL 3 number
- ALIGN_LEFT 0 number
- ALIGN_RIGHT 2 number
- ALIGN_TOP 0 number
- DEFAULT_INDENT 16 number
- DEFAULT_PADDING 8 number
- FIELD_FLOAT 2 number
- FIELD_INT 1 number
- FIELD_NODIGITS 5 number
- FIELD_TEXT 0 number
- FIELD_UFLOAT 4 number
- FIELD_UINT 3 number
- FOLLOW_BOTTOM 8 number
- FOLLOW_LEFT 1 number
- FOLLOW_RIGHT 4 number
- FOLLOW_TOP 2 number
- KEY_BACKSPACE -4 number
- KEY_DELETE -5 number
- KEY_DOWN -13 number
- KEY_END -7 number
- KEY_ESCAPE -2 number
- KEY_F1 -20 number
- KEY_F10 -29 number
- KEY_F11 -30 number
- KEY_F12 -31 number
- KEY_F2 -21 number
- KEY_F3 -22 number
- KEY_F4 -23 number
- KEY_F5 -24 number
- KEY_F6 -25 number
- KEY_F7 -26 number
- KEY_F8 -27 number
- KEY_F9 -28 number
- KEY_HOME -6 number
- KEY_LEFT -10 number
- KEY_PAGEDOWN -9 number
- KEY_PAGEUP -8 number
- KEY_RETURN -1 number
- KEY_RIGHT -12 number
- KEY_TAB -3 number
- KEY_UP -11 number
- MSG_CANCEL -1007 number
- MSG_OK -1006 number
- LM_AngleWidget table
- LM_BaseWidget table
- LM_Button table
- LM_CheckBox table
- LM_ColorSwatch table
- LM_Divider table
- LM_DynamicText table
- LM_Graphics table
- LM_LayoutView table
- LM_Menu table
- LM_Message table
- LM_PopupDialog table
- LM_PopupMenu table
- LM_RadioButton table
- LM_SimpleDialog table
- LM_StaticText table
- LM_TextControl table
- LM_TextList table
- LM_View table
- Alert function
- AngleWidget function
- Button function
- CheckBox function
- ColorSwatch function
- Divider function
- DynamicText function
- Menu function
- OpenFile function
- PopupDialog function
- PopupMenu function
- RadioButton function
- SaveFile function
- SimpleDialog function
- SimpleDialogRegister function
- StaticText function
- TextControl function
- TextList function
- Matrix table
- Identity function
- Invert function
- Multiply function
- Perspective function
- Rotate function
- Scale function
- Set function
- Transform function
- Translate function
- delete function
- new function
- new_local function
- Point table
- Set function
- delete function
- new function
- new_local function
- Rect table
- Contains function
- Normalize function
- delete function
- new function
- new_local function
- Vector2 table
- Dot function
- GetOrthogonal function
- Mag function
- Norm function
- NormMe function
- Rotate function
- Set function
- SquaredMag function
- delete function
- new function
- new_local function
- Vector3 table
- Cross function
- Dot function
- GetOrthogonals function
- Mag function
- Norm function
- NormMe function
- Rotate function
- Set function
- SquaredMag function
- delete function
- new function
- new_local function
- rgb_color table
- delete function
- new function
- new_local function
- Beep function
- Clamp function
- Lerp function
- Round function
- Slerp function
- Snooze function
LM.GUI interfaces:
- ALERT_INFO 0 number
- ALERT_QUESTION 2 number
- ALERT_WARNING 1 number
- ALIGN_BOTTOM 2 number
- ALIGN_CENTER 1 number
- ALIGN_FILL 3 number
- ALIGN_LEFT 0 number
- ALIGN_RIGHT 2 number
- ALIGN_TOP 0 number
- DEFAULT_INDENT 16 number
- DEFAULT_PADDING 8 number
- FIELD_FLOAT 2 number
- FIELD_INT 1 number
- FIELD_NODIGITS 5 number
- FIELD_TEXT 0 number
- FIELD_UFLOAT 4 number
- FIELD_UINT 3 number
- FOLLOW_BOTTOM 8 number
- FOLLOW_LEFT 1 number
- FOLLOW_RIGHT 4 number
- FOLLOW_TOP 2 number
- KEY_BACKSPACE -4 number
- KEY_DELETE -5 number
- KEY_DOWN -13 number
- KEY_END -7 number
- KEY_ESCAPE -2 number
- KEY_F1 -20 number
- KEY_F10 -29 number
- KEY_F11 -30 number
- KEY_F12 -31 number
- KEY_F2 -21 number
- KEY_F3 -22 number
- KEY_F4 -23 number
- KEY_F5 -24 number
- KEY_F6 -25 number
- KEY_F7 -26 number
- KEY_F8 -27 number
- KEY_F9 -28 number
- KEY_HOME -6 number
- KEY_LEFT -10 number
- KEY_PAGEDOWN -9 number
- KEY_PAGEUP -8 number
- KEY_RETURN -1 number
- KEY_RIGHT -12 number
- KEY_TAB -3 number
- KEY_UP -11 number
- MSG_CANCEL -1007 number
- MSG_OK -1006 number
- LM_AngleWidget table
- SetValue function
- Value function
- LM_BaseWidget table
- LM_Button table
- LM_CheckBox table
- SetValue function
- Value function
- LM_ColorSwatch table
- SetValue function
- Value function
- LM_Divider table
- LM_DynamicText table
- LM_Graphics table
- AddLine function
- ApplyMatrix function
- BeginDraw function
- BeginPicking function
- BeginShape function
- Clear function
- CurrentScale function
- CurrentTransform function
- DrawFatMarker function
- DrawLine function
- DrawMarker function
- EndDraw function
- EndShape function
- FillCircle function
- FrameCircle function
- Height function
- IsFullWhite function
- LineTo function
- MoveTo function
- Pick function
- Pop function
- Push function
- Rotate function
- Scale function
- ScreenToWorld function
- SelectionRect function
- SetColor function
- SetPenWidth function
- SetSmoothing function
- Translate function
- Width function
- WorldToScreen function
- LM_LayoutView table
- AddChild function
- AddPadding function
- Indent function
- Pop function
- PushH function
- PushV function
- Unindent function
- LM_Menu table
- AddItem function
- AddItemAlphabetically function
- CountItems function
- FirstChecked function
- FirstCheckedLabel function
- FirstCheckedMsg function
- IsChecked function
- IsEnabled function
- ItemLabel function
- RemoveAllItems function
- SetChecked function
- SetCheckedLabel function
- SetEnabled function
- UncheckAll function
- LM_Message table
- LM_PopupDialog table
- Dialog function
- SetDialog function
- LM_PopupMenu table
- Menu function
- SetMenu function
- LM_RadioButton table
- SetValue function
- Value function
- LM_SimpleDialog table
- DoModal function
- GetLayout function
- Validate function
- delete function
- new function
- new_local function
- LM_StaticText table
- LM_TextControl table
- FloatValue function
- IntValue function
- SetConstantMessages function
- SetValue function
- SetWheelInc function
- Value function
- LM_TextList table
- AddItem function
- AddItemAlphabetically function
- CountItems function
- GetItem function
- RemoveItem function
- SelItem function
- SelItemLabel function
- SetItemLabel function
- SetSelItem function
- LM_View table
- Enable function
- IsEnabled function
- Alert function
- AngleWidget function
- Button function
- CheckBox function
- ColorSwatch function
- Divider function
- DynamicText function
- Menu function
- OpenFile function
- PopupDialog function
- PopupMenu function
- RadioButton function
- SaveFile function
- SimpleDialog function
- SimpleDialogRegister function
- StaticText function
- TextControl function
- TextList function
MOHO interfaces:
- BM_ADD 4 number
- BM_COLOR 8 number
- BM_DIFFERENCE 5 number
- BM_HUE 6 number
- BM_LUMINOSITY 9 number
- BM_MULTIPLY 1 number
- BM_NORMAL 0 number
- BM_OVERLAY 3 number
- BM_SATURATION 7 number
- BM_SCREEN 2 number
- CHANNEL_BOOL 4 number
- CHANNEL_COLOR 3 number
- CHANNEL_STRING 5 number
- CHANNEL_UNKNOWN 0 number
- CHANNEL_VAL 1 number
- CHANNEL_VEC2 2 number
- CHANNEL_VEC3 6 number
- FLEXI_BINDING 1 number
- INTERP_CYCLE 5 number
- INTERP_EASE 2 number
- INTERP_LINEAR 0 number
- INTERP_NOISY 4 number
- INTERP_POSE 6 number
- INTERP_SMOOTH 1 number
- INTERP_STEP 3 number
- LT_3D 8 number
- LT_BONE 4 number
- LT_GROUP 3 number
- LT_IMAGE 2 number
- LT_NOTE 7 number
- LT_PARTICLE 6 number
- LT_SWITCH 5 number
- LT_UNKNOWN 0 number
- LT_VECTOR 1 number
- MSG_BASE -10000 number
- PEAKED 0.0010000000474975 number
- REGION_BINDING 2 number
- SMOOTH 0.30000001192093 number
- AnimBool table
- GetValue function
- SetValue function
- AnimChannel table
- AddKey function
- ChannelType function
- Clear function
- CountKeys function
- DeleteKey function
- Duration function
- GetClosestKeyID function
- HasKey function
- Reset function
- SetKeyInterp function
- SetKeyInterpByID function
- StoreValue function
- AnimColor table
- GetValue function
- SetValue function
- AnimString table
- GetValue function
- SetValue function
- AnimVal table
- GetValue function
- SetValue function
- AnimVec2 table
- GetValue function
- SetValue function
- AnimVec3 table
- GetValue function
- SetValue function
- GroupLayer table
- CountLayers function
- DepthSort function
- Expand function
- FullDepthSort function
- IsExpanded function
- Layer function
- LayerByDepth function
- KeyEvent table
- LM_FontPreview table
- Refresh function
- SetFontName function
- SetPreviewText function
- LM_MeshPreview table
- AutoZoom function
- CreateShape function
- Mesh function
- Refresh function
- M_Bone table
- Name function
- SetName function
- M_Curve table
- CountPoints function
- GetCurvature function
- IsPointOnSegment function
- IsSegmentOn function
- Point function
- SetCurvature function
- SetSegmentOn function
- M_Face3D table
- M_Material3D table
- M_Mesh table
- AddGroup function
- AddLonePoint function
- AddPoint function
- AppendPoint function
- ArePointsAdjacent function
- Clear function
- ClosestPoint function
- CountCurves function
- CountGroups function
- CountPoints function
- CountShapes function
- Curve function
- DeleteEdge function
- DeleteGroup function
- DeletePoint function
- DeleteShape function
- Group function
- LowerShape function
- Point function
- PrepMovePoints function
- RaiseShape function
- RotatePoints function
- ScalePoints function
- SelectAll function
- SelectConnected function
- SelectGroup function
- SelectInverse function
- SelectNone function
- SelectedBounds function
- SelectedCenter function
- Shape function
- TranslatePoints function
- WeldPoints function
- M_Mesh3D table
- AddFace function
- AddMaterial function
- AddPoint function
- AddTexturePoint function
- Clear function
- Clockwise function
- CountFaces function
- CountMaterials function
- CountPoints function
- CountTexturePoints function
- CreateNewMaterial function
- DefaultColor function
- EdgeColor function
- Face function
- Material function
- Point function
- RemoveFace function
- RemoveMaterial function
- RemovePoint function
- RemoveTexturePoint function
- ScaleToRadius function
- SetClockwise function
- SetDefaultColor function
- SetEdgeColor function
- SetPoint function
- TexturePoint function
- M_Point table
- CountCurves function
- Curve function
- GetEndpointEdge function
- IsEndpoint function
- SetCurvature function
- SetPos function
- M_PointGroup table
- CountPoints function
- Name function
- Point function
- M_Shape table
- CopyStyleProperties function
- CountEdges function
- GetEdge function
- RemoveStyles function
- M_Skeleton table
- AddBone function
- Bone function
- BoneID function
- CountBoneChildren function
- CountBones function
- DeleteBone function
- GetFirstChildBone function
- IKAngleSolver function
- IsBoneChild function
- IsBoneParent function
- LockBone function
- NearestBone function
- SelectedBoneID function
- UnlockBone function
- UpdateBoneMatrix function
- M_Style table
- SetShading function
- SetSoftEdge function
- Mesh3DLayer table
- EdgeOffset function
- SetEdgeOffset function
- SetSourceMesh function
- SourceMesh function
- MohoDoc table
- AnimDuration function
- AspectRatio function
- CountLayers function
- DepthSort function
- EndFrame function
- Fps function
- GetOutsideViewMatrix function
- Height function
- IsOutsideViewEnabled function
- Layer function
- PrepUndo function
- SetDirty function
- SetEndFrame function
- SetShape function
- SetStartFrame function
- StartFrame function
- Width function
- MohoLayer table
- ActivateAction function
- BlendingMode function
- CurrentAction function
- DeleteParentBone function
- GetFullTransform function
- GetLayerTransform function
- GetParentTransform function
- InsertAction function
- IsBoneType function
- IsGroupType function
- LayerParentBone function
- LayerType function
- Name function
- Origin function
- Parent function
- SetBlendingMode function
- SetLayerParentBone function
- SetName function
- SetOrigin function
- ShowConstructionCurves function
- UpdateCurFrame function
- delete function
- new function
- new_local function
- MohoView table
- DrawMe function
- DrawPreviewShape function
- Graphics function
- OrbitDown function
- OrbitMoved function
- OrbitUp function
- PanDown function
- PanMoved function
- PanUp function
- PickBone function
- PickEdge function
- PickPoint function
- PickShape function
- Point2Vec function
- Refresh function
- ResetView function
- RotateDown function
- RotateMoved function
- RotateUp function
- ZoomDown function
- ZoomMoved function
- ZoomUp function
- MouseEvent table
- ParticleLayer table
- Damping function
- EvenlySpaced function
- FinalizeSettings function
- FreeFloating function
- FullSpeedStart function
- GetAcceleration function
- GetDirection function
- GetNumParticles function
- GetVelocity function
- Lifetime function
- Orientation function
- RandomStartTime function
- RunningTrack function
- SetAcceleration function
- SetDamping function
- SetDirection function
- SetEvenlySpaced function
- SetFreeFloating function
- SetFullSpeedStart function
- SetLifetime function
- SetNumParticles function
- SetOrientation function
- SetRandomSeed function
- SetRandomStartTime function
- SetSourceDimensions function
- SetVelocity function
- SourceDimensions function
- ScriptInterface table
- AddPointKeyframe function
- BeginAudioExtraction function
- Click function
- CountBones function
- CountCurves function
- CountEdges function
- CountPoints function
- CountSelectedBones function
- CountSelectedEdges function
- CountSelectedPoints function
- CountSelectedShapes function
- CountShapes function
- CreateNewLayer function
- CreateShape function
- DocToPixel function
- EndAudioExtraction function
- FillInFontList function
- GetAudioAmplitude function
- InsertText function
- LayerAs3D function
- LayerAsGroup function
- LayerAsParticle function
- LayerAsSwitch function
- Mesh function
- Mesh3D function
- NewKeyframe function
- NewShapeLineWidth function
- NoiseVector function
- ParentSkeleton function
- PixelToDoc function
- PlaceLayerInGroup function
- SetCurFrame function
- SetSelLayer function
- Skeleton function
- SnapToGrid function
- UpdateBonePointSelection function
- UpdateSelectedChannels function
- UpdateUI function
- ScriptPrefs table
- GetBool function
- GetFloat function
- GetInt function
- GetString function
- SetBool function
- SetFloat function
- SetInt function
- SetString function
- SwitchLayer table
- GetValue function
- InterpMode function
- SetInterpMode function
- SetSourceFile function
- SetValue function
- SwitchValues function
- XGraphics table
- BuildBoneChoiceMenu function
- BuildBoneMenu function
- BuildGroupMenu function
- DeleteSelectedPoints function
- FontPreview function
- MeshPreview function
- MultiplyColor function
- RandomRange function
- Redraw function
- SelectedPointList function