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

incBeginDrag
void incBeginDrag(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incBeginDragInViewport
void incBeginDragInViewport(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incDragStartedInViewport
bool incDragStartedInViewport(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incEndDrag
void incEndDrag(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incEndDragInViewport
void incEndDragInViewport(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incStartedDrag
bool incStartedDrag(int btn)
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportAlwaysUpdate
bool incViewportAlwaysUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportDraw
void incViewportDraw()

Draws the viewport contents

incViewportDrawConfirmBar
void incViewportDrawConfirmBar()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportDrawOptions
void incViewportDrawOptions()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportDrawTools
void incViewportDrawTools()

Draws the viewport overlay (if any)

incViewportHasMenu
bool incViewportHasMenu()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportMenu
void incViewportMenu()
Undocumented in source. Be warned that the author may not have intended to support it.
incViewportMenuOpening
void incViewportMenuOpening()
Undocumented in source. Be warned that the author may not have intended to support it.
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(bool localOnly)

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