static osg::Timer* sendMsgTimer = new osg::Timer; if (sendMsgTimer->time_m()>100)//100ms {// do what you want sendMsgTimer->setStartTick();//重置 }
osg::NodeVisitor* nv
nv->getFrameStamp()->getReferenceTime();