|
osg例子osgautotransform.cpp中setMinimumScale(1) and setMaximumScale(2)函数中1和2的含义是什么?
root->addChild(createAutoScale(osg::Vec3(0.0,0.0,500.0), 25.0, "AutoScale with no min, max limits"))中
createAutoScale函数定义时有5个参数,这里为什么只有3个,并且程序运行时按住鼠标右键拖动时"AutoScale with no min, max limits"这句话的大小没变,为什么?
换成root->addChild(createAutoScale(osg::Vec3(0.0,0.0,300.0), 25.0, "AutoScale with minScale = 0.0, maxScale = 5.0 ",0.0,FLT_MAX));时"AutoScale with minScale = 0.0, maxScale = 5.0 "这句话的大小也没变。谢谢! |
|