|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::UEnvSound Class ReferenceGame interface for localized environment sounds.
More...
#include <u_env_sound.h>
Inheritance diagram for NLSOUND::UEnvSound:
List of all members.
Public Methods |
virtual void | getPos (NLMISC::CVector &pos) const=0 |
| Return the position. More...
|
virtual void | setPos (const NLMISC::CVector &pos)=0 |
| Moves the envsound (and its transition envsound if it has one). More...
|
virtual void | selectEnv (const char *tag, bool children_too=false)=0 |
| Select the current env for this node, and for all descendants if children_too is true. More...
|
virtual std::vector< UEnvSound * > & | getChildren ()=0 |
| Return the children envsounds. More...
|
virtual void | play (bool children_too=false)=0 |
| Play this node, and all descendants if children_too is true. More...
|
virtual void | stop (bool children_too=false)=0 |
| Stop playing this node, and all descendants if children_too is true. More...
|
virtual | ~UEnvSound () |
| Destructor. More...
|
Protected Methods |
| UEnvSound () |
| Constructor. More...
|
Detailed Description
Game interface for localized environment sounds.
-
Deprecated:
-
An envsound object is a node of an envsound tree, the root of which is returned by UAudioMixer::loadEnvSounds(). The root is the world envsound: it has no bounds. The areas of children envsounds have bounds and they must be totally included in the area of their parent envsound.
For arguments as 3D vectors, use the NeL vector coordinate system:
* (top)
* z
* | y (front)
* | /
* -----x (right)
*
An envsound source plays with the priority HighPri, and has the priority LowPri when not playing.
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 79 of file u_env_sound.h.
Constructor & Destructor Documentation
virtual NLSOUND::UEnvSound::~UEnvSound |
( |
|
) |
[inline, virtual] |
|
NLSOUND::UEnvSound::UEnvSound |
( |
|
) |
[inline, protected] |
|
Member Function Documentation
virtual std::vector<UEnvSound*>& NLSOUND::UEnvSound::getChildren |
( |
|
) |
[pure virtual] |
|
virtual void NLSOUND::UEnvSound::getPos |
( |
NLMISC::CVector & |
pos |
) |
const [pure virtual] |
|
virtual void NLSOUND::UEnvSound::play |
( |
bool |
children_too = false |
) |
[pure virtual] |
|
virtual void NLSOUND::UEnvSound::selectEnv |
( |
const char * |
tag, |
|
|
bool |
children_too = false |
|
) |
[pure virtual] |
|
|
Select the current env for this node, and for all descendants if children_too is true.
Implemented in NLSOUND::CEnvSoundUser. |
virtual void NLSOUND::UEnvSound::setPos |
( |
const NLMISC::CVector & |
pos |
) |
[pure virtual] |
|
virtual void NLSOUND::UEnvSound::stop |
( |
bool |
children_too = false |
) |
[pure virtual] |
|
The documentation for this class was generated from the following file:
|
|