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::MiniAudioPlaybackRequests Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

virtual void Play ()=0
 
virtual void Stop ()=0
 
virtual void Pause ()=0
 
virtual void SetLooping (bool loop)=0
 
virtual bool IsLooping () const =0
 
virtual void SetSoundAsset (AZ::Data::Asset< SoundAsset > soundAsset)=0
 
virtual AZ::Data::Asset< SoundAssetGetSoundAsset () const =0
 
virtual void SetVolumePercentage (float volume)=0
 Volume controls.
 
virtual float GetVolumePercentage () const =0
 
virtual void SetVolumeDecibels (float volumeDecibels)=0
 
virtual float GetVolumeDecibels () const =0
 
virtual void SetSoundAssetRef (const SoundAssetRef &soundAssetRef)=0
 Custom setter for scripting.
 
virtual SoundAssetRef GetSoundAssetRef () const =0
 Custom getter for scripting.
 
virtual float GetInnerAngleInRadians () const =0
 Cone controls for directional attenuation.
 
virtual void SetInnerAngleInRadians (float innerAngleInRadians)=0
 
virtual float GetInnerAngleInDegrees () const =0
 
virtual void SetInnerAngleInDegrees (float innerAngleInDegrees)=0
 
virtual float GetOuterAngleInRadians () const =0
 
virtual void SetOuterAngleInRadians (float outerAngleInRadians)=0
 
virtual float GetOuterAngleInDegrees () const =0
 
virtual void SetOuterAngleInDegrees (float outerAngleInDegrees)=0
 
virtual float GetOuterVolumePercentage () const =0
 
virtual void SetOuterVolumePercentage (float outerVolume)=0
 
virtual float GetOuterVolumeDecibels () const =0
 
virtual void SetOuterVolumeDecibels (float outerVolumeDecibels)=0
 
virtual bool GetFixedDirecion () const =0
 
virtual void SetFixedDirecion (bool fixedDirection)=0
 
virtual float GetDirectionalAttenuationFactor () const =0
 
virtual void SetDirectionalAttenuationFactor (float directionalAttenuationFactor)=0
 
virtual AZ::Vector3 GetDirection () const =0
 
virtual void SetDirection (const AZ::Vector3 &direction)=0
 

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