|
void | SetReverbParameters (float diffusion, float roomSize) |
|
void | ChangeGlobalVolume (float level, float time) |
|
void | EnableMasterLimiter (bool enable) |
|
void | LoadData (MyAudioInitParams initParams, ListReader< MySoundData > sounds, ListReader< MyAudioEffect > effects) |
|
void | SetSameSoundLimiter () |
|
void | UnloadData () |
|
void | ClearSounds () |
|
void | ReloadData () |
|
void | ReloadData (ListReader< MySoundData > sounds, ListReader< MyAudioEffect > effects) |
|
void | Pause () |
|
void | Resume () |
|
void | PauseGameSounds () |
|
void | ResumeGameSounds () |
|
bool | IsValidTransitionCategory (MyStringId transitionCategory, MyStringId musicCategory) |
|
void | PlayMusic (MyMusicTrack?track=null, int priorityForRandom=0) |
|
IMySourceVoice | PlayMusicCue (MyCueId musicCue, bool overrideMusicAllowed=false) |
|
void | StopMusic () |
|
void | MuteHud (bool mute) |
|
bool | HasAnyTransition () |
|
void | Update (int stepSizeInMS, Vector3 listenerPosition, Vector3 listenerUp, Vector3 listenerFront) |
|
bool | ApplyTransition (MyStringId transitionEnum, int priority=0, MyStringId?category=null, bool loop=true) |
|
float | SemitonesToFrequencyRatio (float semitones) |
|
int | GetUpdating3DSoundsCount () |
|
int | GetSoundInstancesTotal2D () |
|
int | GetSoundInstancesTotal3D () |
|
object | CalculateDspSettingsDebug (IMy3DSoundEmitter source) |
|
void | StopUpdatingAll3DCues () |
|
bool | SourceIsCloseEnoughToPlaySound (Vector3 sourcePosition, MyCueId cueId, float?customMaxDistance=0) |
|
void | WriteDebugInfo (StringBuilder sb) |
|
bool | IsLoopable (MyCueId cueId) |
|
ListReader< IMy3DSoundEmitter > | Get3DSounds () |
|
IMyAudioEffect | ApplyEffect (IMySourceVoice input, MyStringHash effect, MyCueId[] cueIds=null, float?duration=null, bool musicEffect=false) |
| Creates effect on input emitter More...
|
|
|
MySoundData | SoloCue [get, set] |
|
bool | GameSoundIsPaused [get] |
|
bool | ApplyReverb [get, set] |
|
float | VolumeMusic [get, set] |
|
float | VolumeHud [get, set] |
|
float | VolumeGame [get, set] |
|
float | VolumeVoiceChat [get, set] |
|
bool | EnableVoiceChat [get, set] |
|
bool | Mute [get, set] |
|
bool | MusicAllowed [get, set] |
|
Dictionary< MyCueId, MySoundData >.ValueCollection | CueDefinitions [get] |
|
MySoundData | SoloCue [get, set] |
|
bool | ApplyReverb [get, set] |
|
float | VolumeMusic [get, set] |
|
float | VolumeHud [get, set] |
|
float | VolumeGame [get, set] |
|
float | VolumeVoiceChat [get, set] |
|
bool | Mute [get, set] |
|
bool | MusicAllowed [get, set] |
|
bool | GameSoundIsPaused [get] |
|
bool | EnableVoiceChat [get, set] |
|
bool | UseVolumeLimiter [get, set] |
|
bool | UseSameSoundLimiter [get, set] |
|
bool | EnableReverb [get, set] |
|
int | SampleRate [get] |
|
Definition at line 22 of file MyXAudio2.cs.
Creates effect on input emitter
- Parameters
-
input | Emitter to work with |
effect | |
cueIds | additional cues if effect mixes them (ie. crossfade) |
- Returns
- effect output sound
Implements VRage.Audio.IMyAudio.
Definition at line 1402 of file MyXAudio2.cs.
bool VRage.Audio.MyXAudio2.ApplyTransition |
( |
MyStringId |
transitionEnum, |
|
|
int |
priority = 0 , |
|
|
MyStringId? |
category = null , |
|
|
bool |
loop = true |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.ChangeGlobalVolume |
( |
float |
level, |
|
|
float |
time |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.ClearSounds |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.EnableMasterLimiter |
( |
bool |
enable | ) |
|
|
inline |
int VRage.Audio.MyXAudio2.GetSoundInstancesTotal2D |
( |
| ) |
|
|
inline |
int VRage.Audio.MyXAudio2.GetSoundInstancesTotal3D |
( |
| ) |
|
|
inline |
int VRage.Audio.MyXAudio2.GetUpdating3DSoundsCount |
( |
| ) |
|
|
inline |
bool VRage.Audio.MyXAudio2.HasAnyTransition |
( |
| ) |
|
|
inline |
bool VRage.Audio.MyXAudio2.IsLoopable |
( |
MyCueId |
cueId | ) |
|
|
inline |
bool VRage.Audio.MyXAudio2.IsValidTransitionCategory |
( |
MyStringId |
transitionCategory, |
|
|
MyStringId |
musicCategory |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.MuteHud |
( |
bool |
mute | ) |
|
|
inline |
void VRage.Audio.MyXAudio2.Pause |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.PauseGameSounds |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.PlayMusic |
( |
MyMusicTrack? |
track = null , |
|
|
int |
priorityForRandom = 0 |
|
) |
| |
|
inline |
IMySourceVoice VRage.Audio.MyXAudio2.PlayMusicCue |
( |
MyCueId |
musicCue, |
|
|
bool |
overrideMusicAllowed = false |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.ReloadData |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.Resume |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.ResumeGameSounds |
( |
| ) |
|
|
inline |
float VRage.Audio.MyXAudio2.SemitonesToFrequencyRatio |
( |
float |
semitones | ) |
|
|
inline |
void VRage.Audio.MyXAudio2.SetReverbParameters |
( |
float |
diffusion, |
|
|
float |
roomSize |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.SetSameSoundLimiter |
( |
| ) |
|
|
inline |
bool VRage.Audio.MyXAudio2.SourceIsCloseEnoughToPlaySound |
( |
Vector3 |
sourcePosition, |
|
|
MyCueId |
cueId, |
|
|
float? |
customMaxDistance = 0 |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.StopMusic |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.StopUpdatingAll3DCues |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.UnloadData |
( |
| ) |
|
|
inline |
void VRage.Audio.MyXAudio2.Update |
( |
int |
stepSizeInMS, |
|
|
Vector3 |
listenerPosition, |
|
|
Vector3 |
listenerUp, |
|
|
Vector3 |
listenerFront |
|
) |
| |
|
inline |
void VRage.Audio.MyXAudio2.WriteDebugInfo |
( |
StringBuilder |
sb | ) |
|
|
inline |
bool VRage.Audio.MyXAudio2.ApplyReverb |
|
getset |
bool VRage.Audio.MyXAudio2.EnableVoiceChat |
|
getset |
bool VRage.Audio.MyXAudio2.GameSoundIsPaused |
|
get |
bool VRage.Audio.MyXAudio2.MusicAllowed |
|
getset |
bool VRage.Audio.MyXAudio2.Mute |
|
getset |
float VRage.Audio.MyXAudio2.VolumeGame |
|
getset |
float VRage.Audio.MyXAudio2.VolumeHud |
|
getset |
float VRage.Audio.MyXAudio2.VolumeMusic |
|
getset |
float VRage.Audio.MyXAudio2.VolumeVoiceChat |
|
getset |
Action<bool> VRage.Audio.MyXAudio2.VoiceChatEnabled |
The documentation for this class was generated from the following file: