creator.viewport

Undocumented in source.

Modules

anim
module creator.viewport.anim
Undocumented in source.
common
module creator.viewport.common
Undocumented in source.
model
module creator.viewport.model
Undocumented in source.
vertex
module creator.viewport.vertex
Undocumented in source.

Members

Functions

incViewportDraw
void incViewportDraw()

Draws the viewport contents

incViewportDrawOverlay
void incViewportDrawOverlay()

Draws the viewport overlay (if any)

incViewportPoll
void incViewportPoll()

Begins polling for viewport interactivity

incViewportPresentMode
void incViewportPresentMode(EditMode mode)

Called on editing mode present

incViewportReset
void incViewportReset()

Resets the viewport

incViewportToolSettings
void incViewportToolSettings()

Updates the viewport tool settings

incViewportToolSettingsNoTool
void incViewportToolSettingsNoTool()

For when there's no tools for that view

incViewportToolbar
void incViewportToolbar()

Updates the viewport toolbars

incViewportUpdate
void incViewportUpdate()

Updates the viewport

incViewportWithdrawMode
void incViewportWithdrawMode(EditMode mode)

Called on editing mode withdraw

Manifest constants

incVIEWPORT_ZOOM_MAX
enum incVIEWPORT_ZOOM_MAX;
Undocumented in source.
incVIEWPORT_ZOOM_MIN
enum incVIEWPORT_ZOOM_MIN;
Undocumented in source.

Variables

incViewportTargetPosition
vec2 incViewportTargetPosition;

Target camera position in scene

incViewportTargetZoom
float incViewportTargetZoom;

Target camera zoom in scene

incViewportZoom
float incViewportZoom;

The actual zoom of the viewport

Meta