Utility class for gizmo manipulation. It's okay to recreate this class on every frame.
More...
#include <Urho3D/SystemUI/TransformGizmo.h>
|
| TransformGizmo (Camera *camera) |
| Setup gizmo for main viewport.
|
|
| TransformGizmo (Camera *camera, const Rect &viewportRect) |
| Setup gizmo for current window rectangle.
|
|
ea::optional< Matrix4 > | ManipulateTransform (Matrix4 &transform, TransformGizmoOperation op, TransformGizmoAxes axes, bool local, const Vector3 &snap) const |
| Manipulate transform. Returns delta matrix in world space.
|
|
ea::optional< Vector3 > | ManipulatePosition (const Matrix4 &transform, TransformGizmoAxes axes, bool local, const Vector3 &snap) const |
| Manipulate position. Returns delta position in world space.
|
|
ea::optional< Quaternion > | ManipulateRotation (const Matrix4 &transform, TransformGizmoAxes axes, bool local, float snap) const |
| Manipulate rotation. Returns delta rotation in world space.
|
|
ea::optional< Vector3 > | ManipulateScale (const Matrix4 &transform, TransformGizmoAxes axes, bool local, float snap) const |
| Manipulate scale. Returns multiplicative delta scale in local space.
|
|
|
| TransformGizmo (Camera *camera, bool isMainViewport, const Rect &viewportRect) |
|
void | PrepareToManipulate () const |
|
|
Camera *const | camera_ {} |
|
const Matrix4 | internalViewMatrix_ |
|
const Matrix4 | internalProjMatrix_ |
|
const bool | isMainViewport_ {} |
|
const Rect | viewportRect_ |
|
|
static Matrix4 | internalTransformMatrix |
|
Utility class for gizmo manipulation. It's okay to recreate this class on every frame.
The documentation for this class was generated from the following files:
- Urho3D/SystemUI/TransformGizmo.h
- Urho3D/SystemUI/TransformGizmo.cpp