nw::snd::Sound3DActor::Initialize Member Function

Syntax

#include <nw/snd/snd_Sound3DActor.h>

void Initialize(
     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.

Return Values

None.

Description

Initializes the 3D sound actor.

3D sound actors must be initialized before they are used. If the constructor with arguments is called, however, there is no need to call it. (There is no problem with calling it though.)

The SoundActor::Initialize function is called internally by this function.

To reuse the same Sound3DActor instance, you must first call Finalize, then call this function again.

See Also

SoundArchivePlayer Class
Sound3DManager Class
Sound3DActor
Finalize

Revision History

2010/04/27
Added a note about reuse.
2010/03/12
Initial version.

CONFIDENTIAL