Previous Topic Index Next Topic
[API function]

FSOUND_3D_Listener_SetDistanceFactor

Sets FMOD's 3d engine relative distance factor, compared to 1.0 meters. It equates to
'how many units per meter' does your engine have.

void F_API FSOUND_3D_Listener_SetDistanceFactor(
float scale
);

Parameters

scale 1.0 = 1 meter units. If you are using feet then scale would equal 3.28.

Return Value

void

Remarks

By default this value is set at 1.0, or meters.

See Also

FSOUND_3D_GetAttributes , FSOUND_3D_Listener_GetAttributes , FSOUND_3D_Listener_SetAttributes , FSOUND_3D_Listener_SetRolloffFactor , FSOUND_3D_SetAttributes , FSOUND_Sample_SetMinMaxDistance

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:08 2001 by SourceDoc v0.10, the automated source code documenter.