Added PrintPropertiesAction to osgPresentation

This commit is contained in:
Robert Osfield
2013-09-04 15:39:17 +00:00
parent 9f5e131203
commit ccf7bbdb50
3 changed files with 30 additions and 28 deletions

View File

@@ -83,6 +83,16 @@ struct OSGPRESENTATION_EXPORT PlayAction : public Action
void apply(osgPresentation::Element& element);
};
struct PrintSupportedProperties : public osgPresentation::Action
{
PrintSupportedProperties(std::ostream& output) : osgPresentation::Action(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _output(output) {}
void apply(osgPresentation::Group& group);
std::ostream& _output;
};
}
#endif