Open Inventor Reference
SoShininessElement Class 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. More...
 
float get (int index) const
 Returns the indexed shininess from an element. More...
 

Static Public Member Functions

static void set (SoState *state, SoNode *, int32_t numShininesses, const float *shininesses)
 Sets the current shininess(es) More...
 
static const SoShininessElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state. More...
 
static float getDefault ()
 Returns the default shininess. More...
 

Detailed Description

get() and set() methods retained for compatibility

Definition at line 74 of file SoShininessElement.h.

Member Function Documentation

◆ get()

float SoShininessElement::get ( int  index) const
inline

Definition at line 104 of file SoShininessElement.h.

References SoLazyElement::getShininess(), and SoDebugError::post().

◆ getDefault()

static float SoShininessElement::getDefault ( )
inlinestatic

Definition at line 116 of file SoShininessElement.h.

References SoLazyElement::getDefaultShininess().

◆ getInstance()

static const SoShininessElement* SoShininessElement::getInstance ( SoState state)
inlinestatic

Definition at line 93 of file SoShininessElement.h.

◆ getNum()

int32_t SoShininessElement::getNum ( ) const
inline

Definition at line 101 of file SoShininessElement.h.

◆ set()

static void SoShininessElement::set ( SoState state,
SoNode ,
int32_t  numShininesses,
const float *  shininesses 
)
inlinestatic

Definition at line 80 of file SoShininessElement.h.

References SoDebugError::post(), and SoLazyElement::setShininess().


The documentation for this class was generated from the following file: