本文整理汇总了C++中params::InterfaceGl::removeParam方法的典型用法代码示例。如果您正苦于以下问题:C++ InterfaceGl::removeParam方法的具体用法?C++ InterfaceGl::removeParam怎么用?C++ InterfaceGl::removeParam使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类params::InterfaceGl
的用法示例。
在下文中一共展示了InterfaceGl::removeParam方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: setupParams
void EpicMonsterApp::setupParams()
{
mParams.removeParam("Wireframe");
mParams.removeParam("Nodes");
mParams.removeParam("Rotation");
mParams.removeParam("Fps");
mParams.removeParam("Position");
mParams.removeParam("iteration");
// mParams.clear();
mParams.addParam( "Wireframe", &mEnableWireframe );
mParams.addParam( "Debug", &mEnableDebugTexture );
mParams.addParam( "Timer Slower", &mTimerSlower );
mParams.addParam( "Offset", &mParTexOffset );
mParams.addParam( "Fall Dir", &mFallDirection );
mParams.addParam( "Triangles", &triangles );
mParams.addParam( "iteration", &mParIteration );
mParams.addParam( "n", &n );
mParams.addParam( "normal map scale", &mNormalScale );
//mParams.addSeparator();
mParams.addParam( "Nodes", mNodeNames, &mNodeIndex, "", mNoBones );
//mParams.addSeparator();
if ( mNoBones )
return;
mParams.addParam( "Rotation", &mNodeOrientations[ mNodeIndex ], "opened=true" );
mParams.addParam( "Position", &mNodePositions[ mNodeIndex ], "opened=true" );
//mParams.addButton( "Reset current", bind( &SkinningApp::resetCurrentBone, this ) );
//mParams.addButton( "Reset all", bind( &SkinningApp::resetAllBones, this ) );
//mParams.addSeparator();
mParams.addParam( "Fps", &mFps, "", true );
}