Inherits AZ::ComponentConfig.
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
AZ::Data::Asset< SoundAsset > | m_sound |
|
bool | m_autoplayOnActivate = false |
|
float | m_volume = 100.f |
| Playback volume represented as a percentage.
|
|
bool | m_autoFollowEntity = false |
| If true, follow the position of the entity.
|
|
bool | m_loop = false |
| If true, loops the sound.
|
|
bool | m_enableSpatialization = false |
|
AttenuationModel | m_attenuationModel = AttenuationModel::Inverse |
|
float | m_minimumDistance = 3.f |
|
float | m_maximumDistance = 30.f |
|
float | m_innerAngleInRadians = AZ::Constants::TwoPi |
| Inner cone angle.
|
|
float | m_innerAngleInDegrees = AZ::RadToDeg(m_innerAngleInRadians) |
|
float | m_outerAngleInRadians = AZ::Constants::TwoPi |
| Outer cone angle.
|
|
float | m_outerAngleInDegrees = AZ::RadToDeg(m_outerAngleInRadians) |
|
float | m_outerVolume = 0.f |
| Volume outside of outer cone.
|
|
float | m_directionalAttenuationFactor = 1.f |
| Directional controls.
|
|
bool | m_fixedDirection = false |
|
AZ::Vector3 | m_direction = AZ::Vector3::CreateAxisY(1.f) |
|
◆ m_autoplayOnActivate
bool MiniAudio::MiniAudioPlaybackComponentConfig::m_autoplayOnActivate = false |
If true, automatically play when the entity activates, useful for environment audio.
The documentation for this class was generated from the following file:
- Gems/MiniAudio/Code/Source/Clients/MiniAudioPlaybackComponentConfig.h