#include <GGUI/Public/UIValues.h>
template<NumberType T>
GGVectorDoes class
What a ui.Vector's edit does: a lambda taking the component's index and new value.
Constructors, destructors, conversion operators
- GGVectorDoes() defaulted
- Does nothing.
-
template<typename TFn>GGVectorDoes(TFn fn)
- Calls
fn(axis, value). - operator bool() const explicit
- Whether it does anything.
Public functions
- void operator()(int axis, T value) const
- Report component
axisset tovalue.