Stores shininess of current material (mostly superseded by SoMaterialElement). 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. | |
Stores shininess of current material (mostly superseded by SoMaterialElement).
Mostly superseded by SoMaterialElement. get() and set() methods retained for compatibility
Definition at line 71 of file SoShininessElement.h.
|
inline |
Returns the indexed shininess from an element.
Definition at line 139 of file SoShininessElement.h.
|
inlinestatic |
Returns the default shininess.
Definition at line 101 of file SoShininessElement.h.
|
inlinestatic |
Returns the top (current) instance of the element in the state.
Definition at line 128 of file SoShininessElement.h.
|
inline |
Returns the number of shininess values in an instance.
Definition at line 90 of file SoShininessElement.h.
|
inlinestatic |
Sets the current shininess(es).
Definition at line 114 of file SoShininessElement.h.