 | Custom3dRolloffCalculationWaveEventHandler Delegate |
Used to calculate volume attenuation for distance in 3D positioning of a wave file.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic delegate void Custom3dRolloffCalculationWaveEventHandler(
WaveHandle wave,
float distance,
ref float volume
)
Public Delegate Sub Custom3dRolloffCalculationWaveEventHandler (
wave As WaveHandle,
distance As Single,
ByRef volume As Single
)
public delegate void Custom3dRolloffCalculationWaveEventHandler(
WaveHandle^ wave,
float distance,
float% volume
)
type Custom3dRolloffCalculationWaveEventHandler =
delegate of
wave : WaveHandle *
distance : float32 *
volume : float32 byref -> unit
Parameters
- wave
- Type: TeamSpeak.Sdk.ClientWaveHandle
the WaveHandle for the playing wave file, returned by PlayWaveFile(String, Boolean). - distance
- Type: SystemSingle
The distance between the listener and the client. - volume
- Type: SystemSingle
The volume which the Client Lib calculated.
See Also