Add a function to skip immediately to the end of a playing camera path

This commit is contained in:
Emma Broman
2022-10-06 22:13:06 +02:00
parent ec3a765d1a
commit 5a970ee6e0
3 changed files with 41 additions and 15 deletions
@@ -72,6 +72,7 @@ public:
void abortPath();
void pausePath();
void continuePath();
void skipToEnd();
Path::Type defaultPathType() const;
double minValidBoundingSphere() const;
@@ -99,6 +100,8 @@ private:
bool _isPlaying = false;
bool _startSimulationTimeOnFinish = false;
bool _setCameraToEndNextFrame = false;
properties::OptionProperty _defaultPathType;
properties::BoolProperty _includeRoll;
properties::FloatProperty _speedScale;