Channel.distance

Wraps Mix_SetDistance which sets the simulated distance for the channel playing from the listener

class Channel
const @property @trusted
void
distance
()

Parameters

newDistance ubyte

simulated distance from 0 to 255

Throws

dsdl2.SDLException if failed to set the distance

Meta