Stores the current shape decimation percentage. More...
#include <Inventor/elements/SoDecimationPercentageElement.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, float comp) |
static void | set (SoState *state, SoNode *, float comp) |
static float | get (SoState *state) |
static float | getDefault () |
This element stores the current shape decimation percentage. If the SoDecimationTypeElement is set to "PERCENTAGE", shapes should use this element to determine the desired percentage of the total amount of triangles.
SoGLRenderAction, SoGetPrimitiveCountAction
static float SoDecimationPercentageElement::get | ( | SoState * | state | ) | [static] |
Returns current decimation percentage from the state.
static int SoDecimationPercentageElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoFloatElement.
static SoType SoDecimationPercentageElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoFloatElement.
static float SoDecimationPercentageElement::getDefault | ( | ) | [static] |
Returns the default decimation percentage.
Sets the current decimation in the state.
static void SoDecimationPercentageElement::set | ( | SoState * | state, | |
float | comp | |||
) | [static] |
Sets the current decimation in the state.