Kohi Game Engine
editor_gizmo Struct Reference

#include <editor_gizmo.h>

Data Fields

transform xform
 The transform of the gizmo. More...
 
transformselected_xform
 A pointer to the currently selected object's transform. Null if nothing is selected. 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
 

Field Documentation

◆ interaction

◆ 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

transform* selected_xform

A pointer to the currently selected object's transform. Null if nothing is selected.

◆ xform

transform xform

The transform of the gizmo.


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