MIX_GetTrack3DPosition - Man Page
Get a track's current position in 3D space.
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
- track
the track to query.
- position
on successful return, will contain the track's position.
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
Info
SDL_mixer 3.2.4 SDL_mixer3 FUNCTIONS