table of contents
other versions
- experimental 3.1~git20250910~d032535+ds-1
MIX_GetTrack3DPosition(3) | SDL_mixer3 FUNCTIONS | MIX_GetTrack3DPosition(3) |
NAME¶
MIX_GetTrack3DPosition - Get a track's current position in 3D space.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
bool MIX_GetTrack3DPosition(MIX_Track *track, MIX_Point3D *position);
DESCRIPTION¶
If 3D positioning isn't enabled for this track, through a call to
MIX_SetTrack3DPosition (), this will return (0,0,0).
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns true on success or false on failure; call SDL_GetError() for more information.
THREAD SAFETY¶
It is safe to call this function from any thread.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SEE ALSO¶
SDL_mixer 3.1.0 | SDL_mixer |