nw::snd::Sound3DEngine Classclass Sound3DEngine : public nw::snd::internal::ISound3DEngine
A parameter calculation engine class for 3D sounds.
Calculates various types of parameters set for sounds, such as volume and pan, from the position information of 3D sound actors and 3D sound listeners, among other information. Standard parameter calculations for 3D sounds are defined in this class.
An initialized instance of this class is registered in 3D Sound Manager.
If you wish to customize the 3D sound engine, you can inherit from this class and create a unique engine class. By registering it with the 3D Sound Manager in Sound3DManager::SetEngine, a customized engine class can be used in place of the default engine class.
| protected S | UPDATE_VOLUME | const u32 |
Flag indicating that a volume calculation using UpdateAmbientParam is required. |
|---|---|---|---|
| protected S | UPDATE_PRIORITY | const u32 |
Flag indicating that a priority calculation using UpdateAmbientParam is required. |
| protected S | UPDATE_PAN | const u32 |
Flag indicating that a pan calculation using UpdateAmbientParam is required. |
| protected S | UPDATE_PITCH | const u32 |
Flag indicating that a pitch calculation using UpdateAmbientParam is required. |
| protected S | UPDATE_START_PRIORITY | const u32 |
Flag indicating that UpdateAmbientParam has been called to calculate priority before the sound starts. |
| Constructors/Destructors | ||
|---|---|---|
| Sound3DEngine | Constructor. | |
| V | ~Sound3DEngine | Destructor. |
| Settings | ||
| SetCalcPanParam | Sets the parameter structure for pan calculation. | |
| GetCalcPanParam | Gets the pan calculation parameter structure that is currently set. | |
| Parameters | ||
| protected V | UpdateAmbientParam | Calculates 3D sound parameters. |
nw::snd::internal::ISound3DEngine
nw::snd::Sound3DEngine
CONFIDENTIAL