GGUI::VectorProps struct

ui.Vector: labelled numeric fields side by side (position, size, rotation).

Public variables

std::optional<double> Min
each component's limit; unset = none
std::optional<double> Max
each component's limit; unset = none
double Step
as NumberProps::Step
int Decimals
as NumberProps::Decimals
std::string_view Units
bool bWrap
Wrap a component past Max round to Min and vice versa (rotations). Needs both limits.
float Gap
between the fields, UI units
GGSize Width
its width
std::string_view Class
axis labels are "vector-axis"
bool bDisabled
shown disabled; takes no input

Variable documentation

std::string_view GGUI::VectorProps::Units

shown after each number