|
CeresEngine 0.2.0
A game development framework
|
An annotation that can be attached to a reflection field to define a range of valid values for the GUI. More...
#include <CeresEngine/Editor/Annotation.hpp>
Public Member Functions | |
| Range (const double minimum, const double maximum, const double step=1.0) | |
| Creates a new range annotation. | |
Public Attributes | |
| double | minimum |
| The minimum value to be allowed by the GUI. | |
| double | maximum |
| The maximum value to be allowed by the GUI. | |
| double | step = 1.0 |
| The step to be used when changing the values. | |
An annotation that can be attached to a reflection field to define a range of valid values for the GUI.
|
inline |
Creates a new range annotation.
| minimum | The minimum value to be allowed by the GUI. |
| maximum | The maximum value to be allowed by the GUI. |
| step | The step to be used when changing the values. |
| double CeresEngine::Editor::Range::maximum |
The maximum value to be allowed by the GUI.
| double CeresEngine::Editor::Range::minimum |
The minimum value to be allowed by the GUI.
| double CeresEngine::Editor::Range::step = 1.0 |
The step to be used when changing the values.