From Cedric Pinson, add accessors to osgAnimation ActionCallback
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user