SoShininessElement Class Reference
[Elements]

Stores shininess of current material (mostly superseded by SoMaterialElement). More...

#include <Inventor/elements/SoShininessElement.h>

List of all members.

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 SoShininessElementgetInstance (SoState *state)
static float getDefault ()

Detailed Description

Stores shininess of current material (mostly superseded by SoMaterialElement).

Mostly superseded by SoMaterialElement. get() and set() methods retained for compatibility

SEE ALSO

Deprecated:

Deprecated since Open Inventor 9500
See SoMaterialElement instead.

Member Function Documentation

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).


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/