Space Engineers
|
Public Member Functions | |
List< MyStringId > | GetCategories () |
MySoundData | GetCue (MyCueId cue) |
Dictionary< MyStringId, List< MyCueId > > | GetAllMusicCues () |
void | SetReverbParameters (float diffusion, float roomSize) |
void | Pause () |
void | Resume () |
void | PauseGameSounds () |
void | ResumeGameSounds () |
void | SetSameSoundLimiter () |
void | EnableMasterLimiter (bool enable) |
void | ChangeGlobalVolume (float level, float time) |
void | PlayMusic (MyMusicTrack?track=null, int priorityForRandom=0) |
IMySourceVoice | PlayMusicCue (MyCueId musicCue, bool overrideMusicAllowed) |
void | StopMusic () |
void | MuteHud (bool mute) |
bool | HasAnyTransition () |
bool | IsValidTransitionCategory (MyStringId transitionCategory, MyStringId musicCategory) |
void | LoadData (MyAudioInitParams initParams, ListReader< MySoundData > cues, ListReader< MyAudioEffect > effects) |
void | UnloadData () |
void | ReloadData () |
void | ReloadData (ListReader< MySoundData > cues, ListReader< MyAudioEffect > effects) |
void | Update (int stepSizeInMS, Vector3 listenerPosition, Vector3 listenerUp, Vector3 listenerFront) |
IMySourceVoice | PlaySound (MyCueId cueId, IMy3DSoundEmitter source=null, MySoundDimensions type=MySoundDimensions.D2, bool skipIntro=false, bool skipToEnd=false) |
IMySourceVoice | GetSound (MyCueId cueId, IMy3DSoundEmitter source=null, MySoundDimensions type=MySoundDimensions.D2) |
IMySourceVoice | GetSound (IMy3DSoundEmitter source, int sampleRate, int channels, MySoundDimensions dimension) |
float | SemitonesToFrequencyRatio (float semitones) |
int | GetUpdating3DSoundsCount () |
int | GetSoundInstancesTotal2D () |
int | GetSoundInstancesTotal3D () |
void | StopUpdatingAll3DCues () |
bool | SourceIsCloseEnoughToPlaySound (Vector3 position, MyCueId cueId, float?customMaxDistance=0) |
bool | IsLoopable (MyCueId cueId) |
object | CalculateDspSettingsDebug (IMy3DSoundEmitter source) |
bool | ApplyTransition (MyStringId transitionEnum, int priority=0, MyStringId?category=null, bool loop=true) |
void | WriteDebugInfo (StringBuilder sb) |
ListReader< IMy3DSoundEmitter > | Get3DSounds () |
IMyAudioEffect | ApplyEffect (IMySourceVoice input, MyStringHash effect, MyCueId[] cueIds=null, float?duration=null, bool musicEffect=false) |
Creates effect on input emitter More... | |
Properties | |
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] |
Events | |
Action< bool > | VoiceChatEnabled |
Definition at line 12 of file IMyAudio.cs.
IMyAudioEffect VRage.Audio.IMyAudio.ApplyEffect | ( | IMySourceVoice | input, |
MyStringHash | effect, | ||
MyCueId[] | cueIds = null , |
||
float? | duration = null , |
||
bool | musicEffect = false |
||
) |
Creates effect on input emitter
input | Emitter to work with |
effect | |
cueIds | additional cues if effect mixes them (ie. crossfade) |
Implemented in VRage.Audio.MyXAudio2.
bool VRage.Audio.IMyAudio.ApplyTransition | ( | MyStringId | transitionEnum, |
int | priority = 0 , |
||
MyStringId? | category = null , |
||
bool | loop = true |
||
) |
Implemented in VRage.Audio.MyXAudio2.
object VRage.Audio.IMyAudio.CalculateDspSettingsDebug | ( | IMy3DSoundEmitter | source | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.ChangeGlobalVolume | ( | float | level, |
float | time | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.EnableMasterLimiter | ( | bool | enable | ) |
Implemented in VRage.Audio.MyXAudio2.
ListReader<IMy3DSoundEmitter> VRage.Audio.IMyAudio.Get3DSounds | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
Dictionary<MyStringId, List<MyCueId> > VRage.Audio.IMyAudio.GetAllMusicCues | ( | ) |
List<MyStringId> VRage.Audio.IMyAudio.GetCategories | ( | ) |
MySoundData VRage.Audio.IMyAudio.GetCue | ( | MyCueId | cue | ) |
IMySourceVoice VRage.Audio.IMyAudio.GetSound | ( | MyCueId | cueId, |
IMy3DSoundEmitter | source = null , |
||
MySoundDimensions | type = MySoundDimensions.D2 |
||
) |
IMySourceVoice VRage.Audio.IMyAudio.GetSound | ( | IMy3DSoundEmitter | source, |
int | sampleRate, | ||
int | channels, | ||
MySoundDimensions | dimension | ||
) |
int VRage.Audio.IMyAudio.GetSoundInstancesTotal2D | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
int VRage.Audio.IMyAudio.GetSoundInstancesTotal3D | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
int VRage.Audio.IMyAudio.GetUpdating3DSoundsCount | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
bool VRage.Audio.IMyAudio.HasAnyTransition | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
bool VRage.Audio.IMyAudio.IsLoopable | ( | MyCueId | cueId | ) |
Implemented in VRage.Audio.MyXAudio2.
bool VRage.Audio.IMyAudio.IsValidTransitionCategory | ( | MyStringId | transitionCategory, |
MyStringId | musicCategory | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.LoadData | ( | MyAudioInitParams | initParams, |
ListReader< MySoundData > | cues, | ||
ListReader< MyAudioEffect > | effects | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.MuteHud | ( | bool | mute | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.Pause | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.PauseGameSounds | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.PlayMusic | ( | MyMusicTrack? | track = null , |
int | priorityForRandom = 0 |
||
) |
Implemented in VRage.Audio.MyXAudio2.
IMySourceVoice VRage.Audio.IMyAudio.PlayMusicCue | ( | MyCueId | musicCue, |
bool | overrideMusicAllowed | ||
) |
Implemented in VRage.Audio.MyXAudio2.
IMySourceVoice VRage.Audio.IMyAudio.PlaySound | ( | MyCueId | cueId, |
IMy3DSoundEmitter | source = null , |
||
MySoundDimensions | type = MySoundDimensions.D2 , |
||
bool | skipIntro = false , |
||
bool | skipToEnd = false |
||
) |
void VRage.Audio.IMyAudio.ReloadData | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.ReloadData | ( | ListReader< MySoundData > | cues, |
ListReader< MyAudioEffect > | effects | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.Resume | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.ResumeGameSounds | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
float VRage.Audio.IMyAudio.SemitonesToFrequencyRatio | ( | float | semitones | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.SetReverbParameters | ( | float | diffusion, |
float | roomSize | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.SetSameSoundLimiter | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
bool VRage.Audio.IMyAudio.SourceIsCloseEnoughToPlaySound | ( | Vector3 | position, |
MyCueId | cueId, | ||
float? | customMaxDistance = 0 |
||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.StopMusic | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.StopUpdatingAll3DCues | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.UnloadData | ( | ) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.Update | ( | int | stepSizeInMS, |
Vector3 | listenerPosition, | ||
Vector3 | listenerUp, | ||
Vector3 | listenerFront | ||
) |
Implemented in VRage.Audio.MyXAudio2.
void VRage.Audio.IMyAudio.WriteDebugInfo | ( | StringBuilder | sb | ) |
Implemented in VRage.Audio.MyXAudio2.
|
getset |
Definition at line 27 of file IMyAudio.cs.
|
get |
Definition at line 14 of file IMyAudio.cs.
|
getset |
Definition at line 113 of file IMyAudio.cs.
|
getset |
Definition at line 95 of file IMyAudio.cs.
|
get |
Definition at line 90 of file IMyAudio.cs.
|
getset |
Definition at line 84 of file IMyAudio.cs.
|
getset |
Definition at line 78 of file IMyAudio.cs.
|
get |
Definition at line 119 of file IMyAudio.cs.
|
getset |
Definition at line 21 of file IMyAudio.cs.
|
getset |
Definition at line 107 of file IMyAudio.cs.
|
getset |
Definition at line 101 of file IMyAudio.cs.
|
getset |
Definition at line 61 of file IMyAudio.cs.
|
getset |
Definition at line 50 of file IMyAudio.cs.
|
getset |
Definition at line 39 of file IMyAudio.cs.
|
getset |
Definition at line 67 of file IMyAudio.cs.
Action<bool> VRage.Audio.IMyAudio.VoiceChatEnabled |
Definition at line 127 of file IMyAudio.cs.