|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::UPSSoundServer Struct ReferenceThis class is an interface which allow the particle system to create a sound.
More...
#include <u_ps_sound_interface.h>
Inheritance diagram for NL3D::UPSSoundServer:
List of all members.
Public Methods |
virtual UPSSoundInstance * | createSound (const std::string &soundName, bool spawn=false)=0 |
| Querry the implementer to create a sound instance, and retrieve an interface to it. More...
|
Detailed Description
This class is an interface which allow the particle system to create a sound.
When a sound is created, the system get an interface on a sound instance. The interface must be registered to the particle system. when it has been created. -
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2001
Definition at line 51 of file u_ps_sound_interface.h.
Member Function Documentation
virtual UPSSoundInstance* NL3D::UPSSoundServer::createSound |
( |
const std::string & |
soundName, |
|
|
bool |
spawn = false |
|
) |
[pure virtual] |
|
|
Querry the implementer to create a sound instance, and retrieve an interface to it.
NULL means that the server can't create the sound, so it is ignored -
Parameters:
-
soundName |
the name of the sound in the sound bank |
spawn |
true if the sound must be spawned e.g it continues after this interface is removed |
cb |
useful only for spawned sound, it tells when a spawned sound has been removed |
Implemented in NL3D::CPSSoundServImpl. |
The documentation for this struct was generated from the following file:
|
|