nw::snd::SoundActor::Initialize Member Function

Syntax

#include <nw/snd/snd_SoundActor.h>
void Initialize(
     SoundArchivePlayer & soundArchivePlayer
);

Arguments

Name Description
in soundArchivePlayer Sound archive player to be used during playback.

Return Values

None.

Description

Initialize the sound actor.

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.

See Also

SoundArchivePlayer Class
SoundActor
Finalize

Revision History

2010/04/27
Added a note about reuse.
2010/03/12
Added the SoundArchivePlayer class and Finalize to the See Also section.
2010/03/05
Initial version.

CONFIDENTIAL