lib-viewport · crate

kinogaki-viewport-ui

Libraryenvironment

Kinogaki viewport widgets for Kinogaki UI (lib-ui): one/four-view layout, camera navigation, the six-axis view cube, transform gizmo handles and point number labels.

Repository
lib-viewport (kinogaki/lib-viewport)
Folder
libs/lib-viewport/crates/ui
Source
8 files, 1,130 lines
Tests
1 file, 62 lines
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

Kinogaki viewport widgets for Kinogaki UI (lib-ui): one/four-view layout, camera navigation, the six-axis view cube, transform gizmo handles and point number labels. Applications draw the rendered view texture (from kinogaki-viewport-gpu) and route input through these pieces; what a gizmo drag edits stays with the application's editing context.

Depends on

CrateRepositoryAsWhat it is
kinogaki-mathlib-mathnormalKinogaki's vectors, points, matrices, quaternions and deterministic elementary functions.
kinogaki-uilib-uinormalKinogaki UI: the immediate-mode UI framework Kinogaki applications are built on.
kinogaki-viewport-corelib-viewportnormalKinogaki viewport core: what a 3D viewport shows, independent of any GPU API or UI toolkit.

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-editorCore and the appnormalKinogaki Studio's editor: the document and everything the window shows of it, as parts one frame borrows one by one.
kinogaki-sdk-uiCore and the appnormalThe plugin SDK's UI layer over lib-ui: the SDK's Ui and Painter, its sheets and the host's services, implemented over lib-ui.

Modules

Public types and traits

At the crate root

Structs ViewCubeViewCubeResponse

Enums TransformTool

By module: 7 public types and traits in 5 modules

gizmo TransformTool

gizmo::geometry FrameHandle

labels Label

navigation Move

view_cube ViewCubeViewCubeResponse

Besides these, 12 public functions at module level.