The solistenergainelement class stores the solistener gain during a scene graph traversal. this gain is set by solistener nodes during audio rendering. the solistenergainelement is used when the sovrmlsound nodes render themselves.
#include <Inventor/elements/SoListenerGainElement.h>
Inherits SoFloatElement.
virtual void init (SoState *state)
static SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void set (SoState *const state, SoNode *const node, const float gain)
static void set (SoState *const state, const float gain)
static float get (SoState *const state)
virtual ~SoListenerGainElement ()
The SoListenerGainElement class stores the SoListener gain during a scene graph traversal.
This gain is set by SoListener nodes during audio rendering. The SoListenerGainElement is used when the SoVRMLSound nodes render themselves.
Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since:
Coin 2.0
The destructor.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects.
Reimplemented from SoFloatElement.
Sets the value of this element.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Returns the element value.
Generated automatically by Doxygen for Coin from the source code.