#include <SFML/Config.h>Go to the source code of this file.
Functions | |
| CSFML_API void | sfListener_SetGlobalVolume (float Volume) |
| Change the global volume of all the sounds. | |
| CSFML_API float | sfListener_GetGlobalVolume () |
| Get the current value of the global volume of all the sounds. | |
| CSFML_API void | sfListener_SetPosition (float PosX, float PosY, float PosZ) |
| Change the position of the listener. | |
| CSFML_API void | sfListener_GetPosition (float *PosX, float *PosY, float *PosZ) |
| Get the current position of the listener. | |
| CSFML_API void | sfListener_SetTarget (float TargetX, float TargetY, float TargetZ) |
| Change the orientation of the listener (the point he must look at). | |
| CSFML_API void | sfListener_GetTarget (float *TargetX, float *TargetY, float *TargetZ) |
| Get the current orientation of the listener (the point he's looking at). | |
| CSFML_API float sfListener_GetGlobalVolume | ( | ) |
Get the current value of the global volume of all the sounds.
| CSFML_API void sfListener_GetPosition | ( | float * | PosX, | |
| float * | PosY, | |||
| float * | PosZ | |||
| ) |
Get the current position of the listener.
| PosX | : X position of the listener in the world | |
| PosY | : Y position of the listener in the world | |
| PosZ | : Z position of the listener in the world |
| CSFML_API void sfListener_GetTarget | ( | float * | TargetX, | |
| float * | TargetY, | |||
| float * | TargetZ | |||
| ) |
Get the current orientation of the listener (the point he's looking at).
| TargetX | : X position of the point the listener is looking at | |
| TargetY | : X position of the point the listener is looking at | |
| TargetZ | : X position of the point the listener is looking at |
| CSFML_API void sfListener_SetGlobalVolume | ( | float | Volume | ) |
Change the global volume of all the sounds.
| Volume | : New global volume, in the range [0, 100] |
| CSFML_API void sfListener_SetPosition | ( | float | PosX, | |
| float | PosY, | |||
| float | PosZ | |||
| ) |
Change the position of the listener.
| PosX | : X position of the listener in the world | |
| PosY | : Y position of the listener in the world | |
| PosZ | : Z position of the listener in the world |
| CSFML_API void sfListener_SetTarget | ( | float | TargetX, | |
| float | TargetY, | |||
| float | TargetZ | |||
| ) |
Change the orientation of the listener (the point he must look at).
| TargetX | : X position of the point the listener must look at | |
| TargetY | : X position of the point the listener must look at | |
| TargetZ | : X position of the point the listener must look at |