IrrKlangSoundGetMaxDistance

section index

## NAME

IrrKlangSoundGetMaxDistance - Returns the maximal distance

## SYNOPSIS

maxDist.f = IrrKlangSoundGetMaxDistance(*sound.l)

## INPUTS

*sound.l | - | pointer to Sound that is started via IrrKlangPlay2D() or IrrKlangPlay3D()

## FUNCTION

Returns the maximal distance if this is a 3D sound.

## RESULT

maximal distance

## EXAMPLE

       maxDist.f = IrrKlangSoundGetMaxDistance(*sound)