Handles input processing and object selection for the viewport.
More...
#include <ViewportInput.h>
Handles input processing and object selection for the viewport.
◆ ViewportInput()
| Editor::Components::ViewportInput::ViewportInput |
( |
| ) |
|
|
default |
◆ ~ViewportInput()
| Editor::Components::ViewportInput::~ViewportInput |
( |
| ) |
|
|
default |
◆ ProcessInput()
| void Editor::Components::ViewportInput::ProcessInput |
( |
::Scene & |
scene, |
|
|
::BaseCamera & |
camera, |
|
|
const ImVec2 & |
viewportPos, |
|
|
const ImVec2 & |
viewportSize |
|
) |
| |
Process input for the viewport.
- Parameters
-
| scene | Scene for object selection |
| camera | Camera for ray casting |
| viewportPos | Position of the viewport in screen space |
| viewportSize | Size of the viewport |
The documentation for this class was generated from the following files: