您的位置:首页 > 其它

OSG计时器与时间戳

2016-12-22 13:02 399 查看
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();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: