Previous Topic Index Next Topic
[API function]

FSOUND_3D_GetAttributes

signed char F_API FSOUND_3D_GetAttributes(
int channel,
F_FLOAT_API *pos,
F_FLOAT_API *vel
);

Parameters

channel Channel you want to get 3d information from
pos Pointer to a position vector (xyz float triplet) of the emitter in world space, measured in distance units.
This can be NULL to ignore it.
vel Pointer to a velocity vector (xyz float triplet), of the emitter measured in distance units PER SECOND.
This can be NULL to ignore it.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

A 'distance unit' is specified by FSOUND_3D_SetDistanceFactor. By default this is set to meters which is a distance scale of 1.0.
See FSOUND_3D_SetDistanceFactor for more on this.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_3D_Listener_SetAttributes , FSOUND_3D_SetAttributes , FSOUND_3D_SetDistanceFactor , FSOUND_Sample_SetMinMaxDistance

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:27 2005 by SourceDoc v0.10, the automated source code documenter.