OSG计时器与时间戳

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();

上一篇:WinForm


下一篇:idea如何设置类头注释和方法注释