nw::snd::SoundArchive::Sound3DInfo Structure

Header file: nw/snd/snd_SoundArchive.h

Syntax

struct Sound3DInfo
{
   u32 flags;
   f32 decayRatio;
   u8 decayCurve;
   u8 dopplerFactor;
};

Description

Structure storing a sound's 3D sound setting information.

Enumerated Types

DecayCurve Enum indicating the shape of the 3D decay curve.
FlagCtrl These flags indicate whether each parameter associated with 3D sound should be calculated.

Member Variables

flags u32 Bit flags representing parameters to be processed during 3D calculations. Flags are represented using the logical sum of FLAG_CTRL_***.
decayRatio f32 The 3D attenuation ratio.
decayCurve u8 The shape of a 3D attenuation curve. Stored DecayCurve.
dopplerFactor u8 The 3D Doppler factor.

See Also

ReadSound3DInfo

Revision History

2010/11/30
Changed the type of FLAG_CTRL_*** from static constant u32 to enum.
2010/03/05
Initial version.

CONFIDENTIAL