Stores shininess of current material (mostly superseded by SoMaterialElement). More...
#include <Inventor/elements/SoShininessElement.h>
Public Member Functions | |
int32_t | getNum () const |
float | get (int index) const |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *, int32_t numShininesses, const float *shininesses) |
static const SoShininessElement * | getInstance (SoState *state) |
static float | getDefault () |
Stores shininess of current material (mostly superseded by SoMaterialElement).
Mostly superseded by SoMaterialElement. get() and set() methods retained for compatibility
float SoShininessElement::get | ( | int | index | ) | const [inline] |
Returns the indexed shininess from an element.
static float SoShininessElement::getDefault | ( | ) | [inline, static] |
Returns the default shininess.
const SoShininessElement * SoShininessElement::getInstance | ( | SoState * | state | ) | [inline, static] |
Returns the top (current) instance of the element in the state.
int32_t SoShininessElement::getNum | ( | ) | const [inline] |
Returns the number of shininess values in an instance.
void SoShininessElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
int32_t | numShininesses, | |||
const float * | shininesses | |||
) | [inline, static] |
Sets the current shininess(es).