3#include <glm/common.hpp>
5#include "core/reflect.h"
36 if (!(range > 0.0f))
return 0.0f;
Names one entity of one Scene, for as long as that slot holds it.
Definition entity.h:23
A value dragged along a UIButton's width: the button is the track.
Definition ui_slider.h:20
float minValue
At the track's left end.
Definition ui_slider.h:22
float value
Write it to set the slider; a drag keeps it within min..max.
Definition ui_slider.h:21
EntityId fill
Grown to the value; none for no fill.
Definition ui_slider.h:26
float maxValue
At its right end.
Definition ui_slider.h:23
EntityId knob
Stood at the value; none for no knob.
Definition ui_slider.h:27
float fraction() const
How far along the track the value is.
Definition ui_slider.h:34
float step
What a drag snaps to, from minValue; 0 is continuous.
Definition ui_slider.h:24