nw::snd::Sound3DCalculator::CalcVolumeAndPriority Member Function#include <nw/snd/snd_Sound3DCalculator.h>
static void CalcVolumeAndPriority(
const Sound3DManager & manager,
const Sound3DListener & listener,
const Sound3DParam & actorParam,
f32 * volumePtr,
int* priorityPtr
);
| Name | Description | |
|---|---|---|
| in | manager | 3D sound manager used in the calculation. |
| in | listener | 3D sound listener used in the calculation. |
| in | actorParam | 3D sound parameter used in the calculation. |
| out | volumePtr | Pointer that stores the result of the volume calculation. |
| out | priorityPtr | Pointer that stores the result of the priority calculation. |
Performs standard 3D sound parameter calculations for volume and priority.
Volume and priority are calculated together by this function because they are connected to each other for 3D sounds.
Sound3DManager ClassSound3DListener ClassSound3DParam Structure
CONFIDENTIAL