iSndSysSource3DDirectionalSimple Struct Reference
Public Member Functions
|virtual csVector3||GetDirection ()=0|
|get direction of this source |
|virtual float||GetDirectionalRadiation ()=0|
|Retrieves the current directional radiation. |
|virtual void||SetDirection (csVector3 dir)=0|
|set direction of this source |
|virtual void||SetDirectionalRadiation (float rad)=0|
|The directional radiation applies to sound that are oriented in a particular direction. |
Extension to the iSndSysSource3D interface, allowing simple directional orientation of sound sources.
The concept is a cone with it's apex at the source and extendning in a given direction, with a given half-angle. Within this cone the source is audible. Outside the cone, it is not.
- The interface should probably be phased out and the software renderer updated to use iSndSysSource3DDirectional.
Member Function Documentation
|virtual csVector3 iSndSysSource3DDirectionalSimple::GetDirection||(||)||
get direction of this source
|virtual float iSndSysSource3DDirectionalSimple::GetDirectionalRadiation||(||)||
Retrieves the current directional radiation.
|virtual void iSndSysSource3DDirectionalSimple::SetDirection||(||csVector3||dir||)||
set direction of this source
|virtual void iSndSysSource3DDirectionalSimple::SetDirectionalRadiation||(||float||rad||)||
The directional radiation applies to sound that are oriented in a particular direction.
This value is expressed in radians and describes the half-angle of a cone spreading from the position of the source and opening in the direction of the source. Set this value to 0.0f for an omni-directional sound.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1