 | ConnectionSet3DSettings Method |
Adjusts 3D sound system settings
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic void Set3DSettings(
float distanceFactor,
float rolloffScale
)
Public Sub Set3DSettings (
distanceFactor As Single,
rolloffScale As Single
)
public:
void Set3DSettings(
float distanceFactor,
float rolloffScale
)
member Set3DSettings :
distanceFactor : float32 *
rolloffScale : float32 -> unit
Parameters
- distanceFactor
- Type: SystemSingle
Relative distance factor. Default is 1.0 = 1 meter - rolloffScale
- Type: SystemSingle
Scaling factor for 3D sound roll-off. Defines how fast sound volume will attenuate. As higher the value, as faster the sound is toned with increasing distance.
See Also