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

Syntax

#include <nw/snd/snd_Sound3DActor.h>
void Initialize(
     SoundArchivePlayer & player,
     Sound3DManager & manager
);
void Initialize(
     SoundArchivePlayer & soundArchivePlayer
);

List of Overloaded Member Functions

Initialize(SoundArchivePlayer &, Sound3DManager &) Initializes the 3D sound actor.
Initialize(SoundArchivePlayer &) Initialize the sound actor.

Description of Initialize(SoundArchivePlayer &, Sound3DManager &)

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.

Description of Initialize(SoundArchivePlayer &)

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.)

To initialize Sound3DActor, you must call the Sound3DActor::Initialize function that takes SoundArchivePlayer and Sound3DManager as arguments, not this function.

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


CONFIDENTIAL