nw::snd::SoundActor::Initialize Member Function#include <nw/snd/snd_SoundActor.h>
void Initialize(
SoundArchivePlayer & soundArchivePlayer
);
| Name | Description | |
|---|---|---|
| in | soundArchivePlayer | Sound archive player to be used during playback. |
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.
SoundArchivePlayer class and Finalize to the See Also section.
CONFIDENTIAL