diff --git a/include/osg/AnimationPath b/include/osg/AnimationPath index 62cf68529..802b78877 100644 --- a/include/osg/AnimationPath +++ b/include/osg/AnimationPath @@ -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);