mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 16:25:43 -05:00
Add ResolveVariables()
Settings will be set to fixed values based on the values of the variables used.
This commit is contained in:
@@ -34,8 +34,10 @@ public:
|
||||
// Only use this function if you intend to convert old settings formats
|
||||
EXPORT void SetUnit(Unit u);
|
||||
|
||||
EXPORT void ResolveVariables();
|
||||
|
||||
private:
|
||||
NumberVariable<double> _value = 0.;
|
||||
DoubleVariable _value = 0.;
|
||||
Unit _unit = Unit::SECONDS;
|
||||
std::chrono::high_resolution_clock::time_point _startTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user