Méthode | Description | |
---|---|---|
SetMaxGain ( |
Sets the Spatial Sound maximum gain.
|
|
SetMinGain ( |
Sets the Spatial Sound minimum gain.
|
|
SetRoomSize ( |
Sets the Spatial Sound room size.
|
|
SetUnityGainDistance ( |
Sets the Spatial Sound unity gain distance.
|
Méthode | Description | |
---|---|---|
SetParameter ( |
Sets a Spatial Sound parameter on an AudioSource.
|
public static SetMaxGain ( |
||
audioSource | The AudioSource on which the maximum gain will be set. | |
gain | float | |
Résultat | void |
public static SetMinGain ( |
||
audioSource | The AudioSource on which the minimum gain will be set. | |
gain | float | |
Résultat | void |
public static SetRoomSize ( |
||
audioSource | The AudioSource on which the room size will be set. | |
room | SpatialSoundRoomSizes | The desired room size. |
Résultat | void |
public static SetUnityGainDistance ( |
||
audioSource | The AudioSource on which the unity gain distance will be set. | |
distance | float | |
Résultat | void |