#include <AudioPreloadComponent.h>
Inherits AZ::Component, AudioPreloadComponentRequestBus::Handler, and Audio::AudioPreloadNotificationBus::MultiHandler.
|  | 
| enum class | LoadType : AZ::u32 { Auto
, Manual
 } | 
|  | 
|  | 
|  | 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 | 
|  | 
|  | 
| static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) | 
|  | 
| static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) | 
|  | 
| static void | GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent) | 
|  | 
| static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) | 
|  | 
| static void | Reflect (AZ::ReflectContext *context) | 
|  | 
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. 
◆ AZ_COMPONENT()
      
        
          | LmbrCentral::AudioPreloadComponent::AZ_COMPONENT | ( | AudioPreloadComponent | , | 
        
          |  |  | "{CBBB1234-4DCA-427E-80FF-E2BB0866EEB1}" |  | 
        
          |  | ) |  |  | 
      
 
 
◆ Load()
  
  | 
        
          | void LmbrCentral::AudioPreloadComponent::Load | ( |  | ) |  |  | override | 
 
AudioPreloadComponentRequestBus::Handler Required Interface 
 
 
◆ OnAudioPreloadCached()
  
  | 
        
          | void LmbrCentral::AudioPreloadComponent::OnAudioPreloadCached | ( |  | ) |  |  | override | 
 
Audio::AudioPreloadNotificationBus::Handler interface 
 
 
The documentation for this class was generated from the following file:
- Gems/LmbrCentral/Code/Source/Audio/AudioPreloadComponent.h