Open 3D Engine MiniAudio 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.
MiniAudio::MiniAudioPlaybackComponentController Class Reference

Inherits MiniAudioPlaybackRequestBus::Handler, and AZ::Data::AssetBus::MultiHandler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (MiniAudioPlaybackComponentController, AZ::SystemAllocator, 0)
 
 AZ_RTTI (MiniAudioPlaybackComponentController, "{1c3f1578-b190-4b49-a0c6-223f40bd9fe5}")
 
 MiniAudioPlaybackComponentController (const MiniAudioPlaybackComponentConfig &config)
 
void Activate (const AZ::EntityComponentIdPair &entityComponentIdPair)
 
void Deactivate ()
 
void SetConfiguration (const MiniAudioPlaybackComponentConfig &config)
 
const MiniAudioPlaybackComponentConfigGetConfiguration () const
 
void Play () override
 
void Stop () override
 
void Pause () override
 
void SetVolumePercentage (float volume) override
 
float GetVolumePercentage () const override
 
void SetVolumeDecibels (float volumeDecibels) override
 
float GetVolumeDecibels () const override
 
void SetLooping (bool loop) override
 
bool IsLooping () const override
 
AZ::Data::Asset< SoundAssetGetSoundAsset () const override
 
void SetSoundAsset (AZ::Data::Asset< SoundAsset > soundAsset) override
 
SoundAssetRef GetSoundAssetRef () const override
 
void SetSoundAssetRef (const SoundAssetRef &soundAssetRef) override
 
float GetInnerAngleInRadians () const override
 
void SetInnerAngleInRadians (float innerAngleInRadians) override
 
float GetInnerAngleInDegrees () const override
 
void SetInnerAngleInDegrees (float innerAngleInDegrees) override
 
float GetOuterAngleInRadians () const override
 
void SetOuterAngleInRadians (float outerAngleInRadians) override
 
float GetOuterAngleInDegrees () const override
 
void SetOuterAngleInDegrees (float outerAngleInDegrees) override
 
float GetOuterVolumePercentage () const override
 
void SetOuterVolumePercentage (float outerVolume) override
 
float GetOuterVolumeDecibels () const override
 
void SetOuterVolumeDecibels (float outerVolumeDecibels) override
 
bool GetFixedDirecion () const override
 
void SetFixedDirecion (bool fixedDirection) override
 
float GetDirectionalAttenuationFactor () const override
 
void SetDirectionalAttenuationFactor (float directionalAttenuationFactor) override
 
AZ::Vector3 GetDirection () const override
 
void SetDirection (const AZ::Vector3 &direction) override
 
void OnAssetReady (AZ::Data::Asset< AZ::Data::AssetData > asset) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 

Friends

class EditorMiniAudioPlaybackComponent
 

The documentation for this class was generated from the following file: