Added osgViewer::HelpHandler

This commit is contained in:
Robert Osfield
2007-02-12 13:39:18 +00:00
parent 4e97901622
commit fe177e42d5
13 changed files with 324 additions and 14 deletions

View File

@@ -806,4 +806,11 @@ osg::Node* StatsHandler::createCameraStats(const std::string& font, osg::Vec3& p
return group;
}
void StatsHandler::getUsage(osg::ApplicationUsage& usage) const
{
usage.addKeyboardMouseBinding("s","Onscreen stats.");
usage.addKeyboardMouseBinding("S","Output stats to console.");
}
}