Function Channel.position
Wraps Mix_SetPosition
which sets the simulated angle and distance of the channel playing from the listener
void position
(
std .typecons .Tuple!(short,ubyte) newAngleDistance
) @property @trusted const;
Parameters
Name | Description |
---|---|
newAngleDistance | tuple of the simulated angle (in degrees clockwise, with 0 being the front) and distance |
Throws
dsdl
if failed to set the position