Open 3D Engine LmbrCentral Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <AudioPreloadComponent.h>
Inherits AZ::Component, AudioPreloadComponentRequestBus::Handler, and Audio::AudioPreloadNotificationBus::MultiHandler.
Public Types | |
enum class | LoadType : AZ::u32 { Auto , Manual } |
Public Member Functions | |
AZ_COMPONENT (AudioPreloadComponent, "{CBBB1234-4DCA-427E-80FF-E2BB0866EEB1}") | |
void | Activate () override |
void | Deactivate () override |
AudioPreloadComponent (AudioPreloadComponent::LoadType loadType, const AZStd::string &preloadName) | |
void | Load () override |
void | Unload () override |
void | LoadPreload (const char *preloadName) override |
void | UnloadPreload (const char *preloadName) override |
bool | IsLoaded (const char *preloadName) override |
void | OnAudioPreloadCached () override |
void | OnAudioPreloadUncached () override |
AudioPreloadComponent Allows loading and unloading ATL Preloads (Soundbanks). A Preload name can be serialized with the component, or it can be manually specified at runtime for use in scripting.
LmbrCentral::AudioPreloadComponent::AZ_COMPONENT | ( | AudioPreloadComponent | , |
"{CBBB1234-4DCA-427E-80FF-E2BB0866EEB1}" | |||
) |
AZ::Component
|
override |
AudioPreloadComponentRequestBus::Handler Required Interface
|
override |
Audio::AudioPreloadNotificationBus::Handler interface