From Cedric Pinson, add accessors to osgAnimation ActionCallback

This commit is contained in:
Cedric Pinson
2009-07-15 20:52:51 +00:00
parent a45ac2ef43
commit a13b32a124

View File

@@ -27,7 +27,9 @@ namespace osgAnimation
public:
RunAction(Action* a, int priority = 0) : _action(a), _priority(priority) {}
virtual void operator()(Action* action, ActionVisitor* visitor);
Action* getAction() const { return _action.get(); }
int getPriority() const { return _priority; }
protected:
osg::ref_ptr<Action> _action;
int _priority;