#include <UnrealAudioVoice.h>
Public 成员函数 | |
| virtual EVoiceError::Type | AddVoiceListener (IVoiceListener *Listener)=0 |
| Adds the given notifier to the voice. 更多... | |
| virtual EVoiceError::Type | GetBaselinePitchScale (float &OutBaselinePitchScale) const =0 |
| Gets the baseline pitch scale of this voice. 更多... | |
| virtual EVoiceError::Type | GetBaselineVolumeScale (float &OutBaselineVolumeScale) const =0 |
| Gets baseline volume scale. 更多... | |
| virtual EVoiceError::Type | GetDuration (float &OutDurationSec)=0 |
| Gets a duration. 更多... | |
| virtual EVoiceError::Type | GetPitchProduct (float &OutPitchProduct) const =0 |
| Gets the pitch product. 更多... | |
| virtual EVoiceError::Type | GetPitchScale (float &OutPitchScale) const =0 |
| Gets dynamic pitch scale of this voice. 更多... | |
| virtual EVoiceError::Type | GetVolumeAttenuation (float &OutAttenuation) const =0 |
| Gets volume attenuation (due to 3d spatialization). 更多... | |
| virtual EVoiceError::Type | GetVolumeProduct (float &OutVolumeProduct) const =0 |
| Gets the volume product. 更多... | |
| virtual EVoiceError::Type | GetVolumeScale (float &OutVolumeScale) const =0 |
| Gets volume scale. 更多... | |
| virtual EVoiceError::Type | IsValid (bool &bOutIsValid) const =0 |
| Is valid. 更多... | |
| virtual EVoiceError::Type | Pause (float InFadeTimeSec=0.0f)=0 |
| Pauses this voice. 更多... | |
| virtual EVoiceError::Type | Play ()=0 |
| Plays this voice. 更多... | |
| virtual EVoiceError::Type | RemoveVoiceListener (IVoiceListener *Listener)=0 |
| Removes the voice listener described by Listener. 更多... | |
| virtual EVoiceError::Type | SetPitchScale (float InPitchScale, float InFadeTimeSec=0.0f)=0 |
| Sets the pitch scale for this voice using linear volume scale. 更多... | |
| virtual EVoiceError::Type | SetVolumeScale (float InVolumeLinear, float InFadeTimeSec=0.0f)=0 |
| Sets the volume scale for this voice using linear volume scale. 更多... | |
| virtual EVoiceError::Type | Stop (float InFadeTimeSec=0.0f)=0 |
| Stops this voice. 更多... | |
| virtual | ~IVoice () |
| Destructor. | |
An IVoice interface
|
pure virtual |
Adds the given notifier to the voice.
The notifier will receive callbacks on various voice events.
|
pure virtual |
Gets the baseline pitch scale of this voice.
| [out] | OutBaselinePitchScale | The out baseline pitch scale. |
|
pure virtual |
Gets baseline volume scale.
| [out] | OutBaselineVolumeScale | The baseline volume scale. |
|
pure virtual |
Gets a duration.
| [out] | OutDurationSec | The out duration security. |
|
pure virtual |
Gets the pitch product.
| [in,out] | OutPitchProduct | The out pitch product. |
|
pure virtual |
Gets dynamic pitch scale of this voice.
| [out] | OutPitchScale | The pitch scale. |
|
pure virtual |
Gets volume attenuation (due to 3d spatialization).
| [in,out] | OutAttenuation | The out attenuation. |
|
pure virtual |
Gets the volume product.
| [out] | OutVolumeProduct | The volume product. |
|
pure virtual |
Gets volume scale.
| [in,out] | OutVolumeScale | The volume scale. |
|
pure virtual |
Is valid.
| [out] | bOutIsValid | The out is valid. |
|
pure virtual |
Pauses this voice.
| InFadeTimeSec | (Optional) The amount of time to spend fading out this sound before pausing it. |
|
pure virtual |
Plays this voice.
|
pure virtual |
Removes the voice listener described by Listener.
| [in] | Listener | The IVoiceListener to remove. |
|
pure virtual |
Sets the pitch scale for this voice using linear volume scale.
| InPitchScale | Pitch scale to set for this voice. |
| InFadeTimeSec | The time to scale the pitch to the given pitch scale. |
|
pure virtual |
Sets the volume scale for this voice using linear volume scale.
| InVolumeLinear | Linear volume set this voice to. |
| InFadeTimeSec | The time to take to get to the given volume scale from its current volume scale. |
|
pure virtual |
Stops this voice.
| InFadeTimeSec | The amount of time to spend fading out this sound. |