The SoListenerGainElement class stores the SoListener gain during a scene graph traversal.
More...
#include <Inventor/elements/SoListenerGainElement.h>
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
◆ ~SoListenerGainElement()
SoListenerGainElement::~SoListenerGainElement |
( |
void | | ) |
|
|
protectedvirtual |
◆ getClassTypeId()
SoType SoListenerGainElement::getClassTypeId |
( |
void | | ) |
|
|
static |
This static method returns the SoType object associated with objects of this class.
◆ getClassStackIndex()
int SoListenerGainElement::getClassStackIndex |
( |
void | | ) |
|
|
static |
This static method returns the state stack index for the class.
◆ createInstance()
void * SoListenerGainElement::createInstance |
( |
void | | ) |
|
|
static |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
◆ initClass()
void SoListenerGainElement::initClass |
( |
void | | ) |
|
|
static |
Initialize relevant common data for all instances, like the type system.
◆ init()
void SoListenerGainElement::init |
( |
SoState * | state | ) |
|
|
virtual |
Initializes the element to its default value. The default value is 1.0.
Reimplemented from SoFloatElement.
◆ set() [1/2]
void SoListenerGainElement::set |
( |
SoState *const | state, |
|
|
SoNode *const | node, |
|
|
const float | gain ) |
|
static |
Sets the value of this element.
◆ set() [2/2]
void SoListenerGainElement::set |
( |
SoState *const | state, |
|
|
const float | gain ) |
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ get()
float SoListenerGainElement::get |
( |
SoState *const | state | ) |
|
|
static |
Returns the element value.
The documentation for this class was generated from the following files: