Previous Topic Index Next Topic
[API function]

FSOUND_3D_GetAttributes

signed char F_API FSOUND_3D_GetAttributes(
int channel,
float *pos,
float *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_Listener_SetDistanceFactor. By default this is
set to meters which is a distance scale of 1.0. See FSOUND_3D_Listener_SetDistanceFactor
for more on this.

See Also

FSOUND_3D_Listener_SetAttributes , FSOUND_3D_Listener_SetDistanceFactor , 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.