nw::snd::Sound3DActor::Sound3DActor Constructor

Syntax

#include <nw/snd/snd_Sound3DActor.h>

Sound3DActor(
     SoundArchivePlayer & player,
     Sound3DManager & manager
);

Arguments

Name Description
in player Sound archive player to be used by the actor.
in manager 3D sound manager to be used by the actor.

Description

Constructor.

The 3D sound actor plays sounds using the sound archive player passed as an argument. Furthermore, the 3D sound manager passed as an argument is used to calculate 3D sound parameters.

When using a constructor with arguments, Initialize does not need to be called. (However, calling it will not result in any problems.)

See Also

SoundArchivePlayer Class
Sound3DManager Class
Initialize

Revision History

2010/03/12
Added a note about Initialize.
2010/02/15
Initial version.

CONFIDENTIAL