Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods.

This commit is contained in:
Robert Osfield 2004-02-21 16:56:23 +00:00
parent a6541a27bf
commit d2491f6750

View File

@ -218,6 +218,7 @@ class SG_EXPORT AnimationPathCallback : public NodeCallback
_latestTime(0.0),
_pause(false),
_pauseTime(0.0) {}
void setAnimationPath(AnimationPath* path) { _animationPath = path; }
@ -228,6 +229,13 @@ class SG_EXPORT AnimationPathCallback : public NodeCallback
void setUseInverseMatrix(bool useInverseMatrix) { _useInverseMatrix = useInverseMatrix; }
bool getUseInverseMatrix() const { return _useInverseMatrix; }
void setTimeOffset(double offset) { _timeOffset = offset; }
double getTimeOffset() const { return _timeOffset; }
void setTimeMultiplier(double multiplier) { _timeMultiplier = multiplier; }
double getTimeMultiplier() const { return _timeMultiplier; }
void reset();
void setPause(bool pause);