From d2491f6750f704b371f5504ca8129174f3a441e8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 21 Feb 2004 16:56:23 +0000 Subject: [PATCH] Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods. --- include/osg/AnimationPath | 8 ++++++++ 1 file changed, 8 insertions(+) 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);