The SpatialSoundSettings class provides a set of methods that simplify making modifications to Microsoft Spatial Sound Spatializer parameters.
More...
The SpatialSoundSettings class provides a set of methods that simplify making modifications to Microsoft Spatial Sound Spatializer parameters.
Definition at line 24 of file SpatialSoundSettings.cs.
§ SetMaxGain()
| static void HoloToolkit.Unity.SpatialSoundSettings.SetMaxGain |
( |
AudioSource |
audioSource, |
|
|
float |
gain |
|
) |
| |
|
static |
Sets the Spatial Sound maximum gain.
- Parameters
-
| audioSource | The AudioSource on which the maximum gain will be set. |
| room | The desired maximum gain, in decibels. |
Definition at line 73 of file SpatialSoundSettings.cs.
§ SetMinGain()
| static void HoloToolkit.Unity.SpatialSoundSettings.SetMinGain |
( |
AudioSource |
audioSource, |
|
|
float |
gain |
|
) |
| |
|
static |
Sets the Spatial Sound minimum gain.
- Parameters
-
| audioSource | The AudioSource on which the minimum gain will be set. |
| room | The desired minimum gain, in decibels. |
Definition at line 63 of file SpatialSoundSettings.cs.
§ SetRoomSize()
| static void HoloToolkit.Unity.SpatialSoundSettings.SetRoomSize |
( |
AudioSource |
audioSource, |
|
|
SpatialSoundRoomSizes |
room |
|
) |
| |
|
static |
Sets the Spatial Sound room size.
- Parameters
-
| audioSource | The AudioSource on which the room size will be set. |
| room | The desired room size. |
Definition at line 52 of file SpatialSoundSettings.cs.
§ SetUnityGainDistance()
| static void HoloToolkit.Unity.SpatialSoundSettings.SetUnityGainDistance |
( |
AudioSource |
audioSource, |
|
|
float |
distance |
|
) |
| |
|
static |
Sets the Spatial Sound unity gain distance.
- Parameters
-
| audioSource | The AudioSource on which the unity gain distance will be set. |
| room | The distance, in meters, at which the AudioSource gain will be 0 decibels. |
Definition at line 83 of file SpatialSoundSettings.cs.
§ DefaultMaxGain
§ DefaultMinGain
§ DefaultSpatialSoundRoom
§ DefaultUnityGainDistance
| const float HoloToolkit.Unity.SpatialSoundSettings.DefaultUnityGainDistance = 1.0f |
§ MaximumGainDecibels
| const float HoloToolkit.Unity.SpatialSoundSettings.MaximumGainDecibels = 12.0f |
§ MaximumUnityGainDistanceMeters
| const float HoloToolkit.Unity.SpatialSoundSettings.MaximumUnityGainDistanceMeters = float.MaxValue |
§ MinimumGainDecibels
| const float HoloToolkit.Unity.SpatialSoundSettings.MinimumGainDecibels = -96.0f |
§ MinimumUnityGainDistanceMeters
| const float HoloToolkit.Unity.SpatialSoundSettings.MinimumUnityGainDistanceMeters = 0.05f |
The documentation for this class was generated from the following file: