Class MohoView

Parent class: LM_View

Version added: before 9.5
The MohoView class is a script's interface to the Moho editing view.

Methods:

Name Returns Description Version added
DrawMe void Causes the view to completely redraw the current scene before 9.5
DrawPreviewShape void Draws a "preview" shape by evaluating the selected points in the current vector layer as a shape, and drawing it in a highlighted mode before 9.5
FloodSelect void before 9.5
GPUMode bool Added in version 10 10.0
Graphics XGraphics Returns a graphics object to use for custom drawing in the view before 9.5
IsStereoEnabled bool before 9.5
IsStereoOn bool before 9.5
IsTracingEnabled bool before 9.5
IsTracingOn bool before 9.5
OrbitDown void before 9.5
OrbitMoved void before 9.5
OrbitUp void before 9.5
PanDown void before 9.5
PanMoved void before 9.5
PanUp void before 9.5
PickBone int32 Picks a bone near the given pixel location before 9.5
PickEdge void Picks an edge near the given pixel location before 9.5
PickEdgeAlongCurve LM_Point Added in version 12 12.0
PickEdgeAlongLine LM_Point before 9.5
PickFace int32 before 9.5
PickGlobalEdge MohoLayer before 9.5
PickGlobalLayer MohoLayer before 9.5
PickGlobalShape M_Shape before 9.5
PickPoint int32 Picks a point near the given pixel location before 9.5
PickShape int32 Picks a shape near the given pixel location before 9.5
Point2Vec LM_Vector2 Converts a pixel location to a 2D vector location, given a specific transformation matrix before 9.5
QualityFlags int32 before 9.5
RefreshView void before 9.5
ResetView void Reset or zoom in on the view before 9.5
RotateDown void before 9.5
RotateMoved void before 9.5
RotateUp void before 9.5
SampleColor rgb_color Added in version 9.5 9.5
SetQualityFlags void before 9.5
SetTracingImage void before 9.5
TurnStereoOn void before 9.5
TurnTracingOn void before 9.5
ZoomDown void before 9.5
ZoomMoved void before 9.5
ZoomUp void before 9.5