|
Kohi Game Engine
|
#include <editor_gizmo.h>
Data Fields | |
| ktransform | ktransform_handle |
| The transform of the gizmo. More... | |
| ktransform | selected_transform |
| A handle to the currently selected object's transform. Invalid handle if nothing is selected. More... | |
| editor_gizmo_mode | mode |
| The current mode of the gizmo. More... | |
| vec3 | initial_position |
| vec3 | initial_scale |
| quat | initial_rotation |
| f32 | scale_scalar |
| Used to keep the gizmo a consistent size on the screen despite camera distance. More... | |
| editor_gizmo_orientation | orientation |
| Indicates the editor transform operaton orientation. More... | |
| editor_gizmo_mode_data | mode_data [EDITOR_GIZMO_MODE_MAX+1] |
| The data for each mode of the gizmo. More... | |
| editor_gizmo_interaction_type | interaction |
| b8 | is_dirty |
| mat4 | render_model |
| f32 | world_scale |
| mat4 | render_projection |
| vec3 initial_position |
| quat initial_rotation |
| vec3 initial_scale |
| editor_gizmo_interaction_type interaction |
| b8 is_dirty |
| ktransform ktransform_handle |
The transform of the gizmo.
| editor_gizmo_mode mode |
The current mode of the gizmo.
| editor_gizmo_mode_data mode_data[EDITOR_GIZMO_MODE_MAX+1] |
The data for each mode of the gizmo.
| editor_gizmo_orientation orientation |
Indicates the editor transform operaton orientation.
| mat4 render_model |
| mat4 render_projection |
| f32 scale_scalar |
Used to keep the gizmo a consistent size on the screen despite camera distance.
| ktransform selected_transform |
A handle to the currently selected object's transform. Invalid handle if nothing is selected.
| f32 world_scale |