Open Inventor Reference
|
Mostly superceded by SoLazyElement. More...
#include <Inventor/elements/SoShininessElement.h>
Public Member Functions | |
int32_t | getNum () const |
Returns the number of shininess values in an instance. | |
float | get (int index) const |
Returns the indexed shininess from an element. | |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *, int32_t numShininesses, const float *shininesses) |
Sets the current shininess(es) | |
static const SoShininessElement * | getInstance (SoState *state) |
Returns the top (current) instance of the element in the state. | |
static float | getDefault () |
Returns the default shininess. |
get() and set() methods retained for compatibility
Definition at line 74 of file SoShininessElement.h.
float SoShininessElement::get | ( | int | index | ) | const [inline] |
Definition at line 104 of file SoShininessElement.h.
References SoLazyElement::getShininess(), and SoDebugError::post().
static float SoShininessElement::getDefault | ( | ) | [inline, static] |
Definition at line 116 of file SoShininessElement.h.
References SoLazyElement::getDefaultShininess().
static const SoShininessElement* SoShininessElement::getInstance | ( | SoState * | state | ) | [inline, static] |
Definition at line 93 of file SoShininessElement.h.
int32_t SoShininessElement::getNum | ( | ) | const [inline] |
Definition at line 101 of file SoShininessElement.h.
static void SoShininessElement::set | ( | SoState * | state, |
SoNode * | , | ||
int32_t | numShininesses, | ||
const float * | shininesses | ||
) | [inline, static] |
Definition at line 80 of file SoShininessElement.h.
References SoDebugError::post(), and SoLazyElement::setShininess().