Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods.
This commit is contained in:
parent
a6541a27bf
commit
d2491f6750
@ -219,6 +219,7 @@ class SG_EXPORT AnimationPathCallback : public NodeCallback
|
|||||||
_pause(false),
|
_pause(false),
|
||||||
_pauseTime(0.0) {}
|
_pauseTime(0.0) {}
|
||||||
|
|
||||||
|
|
||||||
void setAnimationPath(AnimationPath* path) { _animationPath = path; }
|
void setAnimationPath(AnimationPath* path) { _animationPath = path; }
|
||||||
|
|
||||||
AnimationPath* getAnimationPath() { return _animationPath.get(); }
|
AnimationPath* getAnimationPath() { return _animationPath.get(); }
|
||||||
@ -228,6 +229,13 @@ class SG_EXPORT AnimationPathCallback : public NodeCallback
|
|||||||
void setUseInverseMatrix(bool useInverseMatrix) { _useInverseMatrix = useInverseMatrix; }
|
void setUseInverseMatrix(bool useInverseMatrix) { _useInverseMatrix = useInverseMatrix; }
|
||||||
bool getUseInverseMatrix() const { return _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 reset();
|
||||||
|
|
||||||
void setPause(bool pause);
|
void setPause(bool pause);
|
||||||
|
Loading…
Reference in New Issue
Block a user