<H2>template<class A, class <!1><AHREF="TexGen.html#DOC.2.237.11.2">T</A>>inline void <AHREF="#DOC.DOCU">osg::clampArrayElementsBetweenRange</A></H2><H2>(A& value,<BR> unsigned int <!1><AHREF="ImpostorSpriteManager.html#DOC.2.125.3">first</A>,<BR> unsigned int <!1><AHREF="ImpostorSpriteManager.html#DOC.2.125.4">last</A>,<BR> const <!1><AHREF="TexGen.html#DOC.2.237.11.2">T</A> minValue,<BR> const <!1><AHREF="TexGen.html#DOC.2.237.11.2">T</A> maxValue,<BR> const char* valueName)</H2><BLOCKQUOTE>if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><AHREF="index.html">Alphabetic index</A></I><I><AHREF="HIER.html">HTML hierarchy of classes</A> or <AHREF="HIERjava.html">Java</A></I></P><HR>