Function Channel.distance
Wraps Mix_SetDistance
which sets the simulated distance for the channel playing from the listener
void distance
(
ubyte newDistance
) @property @trusted const;
Parameters
Name | Description |
---|---|
newDistance | simulated distance from 0 to 255 |
Throws
dsdl2
if failed to set the distance