|
My Project v1
Project
|


类 | |
| class | Congestion |
| struct | SoundInfo |
Public 成员函数 | |
| float | CalculateListenerDistanceSquared (Vector3 p) |
| float | CalculateListenerDistance (Vector3 p) |
| void | Mute () |
| void | Unmute () |
| void | PlaySound (string name, float volume, float pitch, float pan, float delay) |
| void | PlaySound (string name, float volume, float pitch, float pan, float delay, Vector3 direction) |
| virtual void | PlaySound (string name, float volume, float pitch, Vector3 position, float minDistance, float delay) |
| virtual void | PlaySound (string name, float volume, float pitch, Vector3 position, float minDistance, bool autoDelay) |
| void | PlayRandomSound (string directory, float volume, float pitch, float pan, float delay) |
| virtual void | PlayRandomSound (string directory, float volume, float pitch, Vector3 position, float minDistance, float delay) |
| virtual void | PlayRandomSound (string directory, float volume, float pitch, Vector3 position, float minDistance, bool autoDelay) |
| Sound | CreateSound (string name) |
| float | CalculateVolume (float distance, float minDistance, float rolloffFactor=2f) |
| float | CalculateDelay (Vector3 position) |
| float | CalculateDelay (float distance) |
| void | Update (float dt) |
| override void | Load (ValuesDictionary valuesDictionary) |
| override void | Dispose () |
| bool | UpdateCongestion (string name, float volume) |
Public 成员函数 继承自 Game.IUpdateable | |
Public 属性 | |
| SubsystemTime | m_subsystemTime |
| SubsystemGameWidgets | m_subsystemViews |
| Random | m_random = new() |
| List< Vector3 > | m_listenerPositions = [] |
| Dictionary< string, Congestion > | m_congestions = [] |
| double | m_nextSoundTime |
| List< SoundInfo > | m_queuedSounds = [] |
| List< Sound > | m_sounds = [] |
| Dictionary< Sound, bool > | m_mutedSounds = [] |
属性 | |
| ReadOnlyList< Vector3 > | ListenerPositions [get] |
| UpdateOrder | UpdateOrder [get] |
属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
| float Game.SubsystemAudio.CalculateDelay | ( | float | distance | ) |
| float Game.SubsystemAudio.CalculateDelay | ( | Vector3 | position | ) |


| float Game.SubsystemAudio.CalculateListenerDistance | ( | Vector3 | p | ) |


| float Game.SubsystemAudio.CalculateListenerDistanceSquared | ( | Vector3 | p | ) |

| float Game.SubsystemAudio.CalculateVolume | ( | float | distance, |
| float | minDistance, | ||
| float | rolloffFactor = 2f ) |

| Sound Game.SubsystemAudio.CreateSound | ( | string | name | ) |


| override void Game.SubsystemAudio.Dispose | ( | ) |
| override void Game.SubsystemAudio.Load | ( | ValuesDictionary | valuesDictionary | ) |
| void Game.SubsystemAudio.Mute | ( | ) |
| void Game.SubsystemAudio.PlayRandomSound | ( | string | directory, |
| float | volume, | ||
| float | pitch, | ||
| float | pan, | ||
| float | delay ) |


|
virtual |

|
virtual |

| void Game.SubsystemAudio.PlaySound | ( | string | name, |
| float | volume, | ||
| float | pitch, | ||
| float | pan, | ||
| float | delay ) |

| void Game.SubsystemAudio.PlaySound | ( | string | name, |
| float | volume, | ||
| float | pitch, | ||
| float | pan, | ||
| float | delay, | ||
| Vector3 | direction ) |
|
virtual |

|
virtual |

| void Game.SubsystemAudio.Unmute | ( | ) |
| void Game.SubsystemAudio.Update | ( | float | dt | ) |
| bool Game.SubsystemAudio.UpdateCongestion | ( | string | name, |
| float | volume ) |

| Dictionary<string, Congestion> Game.SubsystemAudio.m_congestions = [] |
| List<Vector3> Game.SubsystemAudio.m_listenerPositions = [] |
| Dictionary<Sound, bool> Game.SubsystemAudio.m_mutedSounds = [] |
| double Game.SubsystemAudio.m_nextSoundTime |
| List<SoundInfo> Game.SubsystemAudio.m_queuedSounds = [] |
| Random Game.SubsystemAudio.m_random = new() |
| List<Sound> Game.SubsystemAudio.m_sounds = [] |
| SubsystemTime Game.SubsystemAudio.m_subsystemTime |
| SubsystemGameWidgets Game.SubsystemAudio.m_subsystemViews |
|
get |
|
get |
实现了 Game.IUpdateable.