|
bool | is_over_viewport (const Eigen::Vector2f &pos) const |
| Returns whether pos is over the viewport.
|
|
Eigen::Vector2f | screen_to_viewport (const Eigen::Vector2f &screen_pos) const |
| Returns position relative to viewport's lower-left corner.
|
|
Eigen::Vector2f | viewport_to_screen (const Eigen::Vector2f &viewport_pos) const |
| Returns position relative to the entire screen.
|
|
|
Entity | viewport |
|
int | available_width = 0 |
|
int | available_height = 0 |
|
Eigen::Vector2f | canvas_origin = Eigen::Vector2f::Zero() |
|
bool | hovered = false |
|
bool | gizmo_active = false |
|
Eigen::Vector2f | mouse_in_canvas = Eigen::Vector2f::Zero() |
|
bool | show_viewport_toolbar = true |
|
The documentation for this struct was generated from the following files: