Kohi Game Engine
editor_gizmo Struct Reference

#include <editor_gizmo.h>

Data Fields

khandle xform_handle
 The transform of the gizmo. More...
 
khandle selected_xform_handle
 A handle to the currently selected object's transform. Invalid handle if nothing is selected. More...
 
khandle selected_xform_parent_handle
 A handle to the parent of the currently selected object's transform, if one exists. Otherwise invalid handle. More...
 
editor_gizmo_mode mode
 The current mode of the gizmo. More...
 
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
 

Field Documentation

◆ interaction

◆ is_dirty

b8 is_dirty

◆ mode

The current mode of the gizmo.

◆ mode_data

The data for each mode of the gizmo.

◆ orientation

Indicates the editor transform operaton orientation.

◆ scale_scalar

f32 scale_scalar

Used to keep the gizmo a consistent size on the screen despite camera distance.

◆ selected_xform_handle

khandle selected_xform_handle

A handle to the currently selected object's transform. Invalid handle if nothing is selected.

◆ selected_xform_parent_handle

khandle selected_xform_parent_handle

A handle to the parent of the currently selected object's transform, if one exists. Otherwise invalid handle.

◆ xform_handle

khandle xform_handle

The transform of the gizmo.


The documentation for this struct was generated from the following file: