Skip to main content

Viewport object

Viewport object represents a viewport as a component for the virtual instrument panel.

Constructors

Constructor
mapper.viewport()

Properties

NameDescription
Viewport.empty_viewView ID of the empty view
Viewport.current_viewView ID of the current view

Methods

NameDescription
Viewport:register_view()Register a view to the viewport
Viewport:change_view()Change the current view
Viewport:set_mappings()Set Event-Action mapping definitions for the viewport
Viewport:add_mappings()Add Event-Action mapping definitions for the viewport

See Also