IrrKlangSoundSetMaxDistance

section index

## NAME

IrrKlangSoundSetMaxDistance - Sets the maximal distance if this is a 3D sound.

## SYNOPSIS

IrrKlangSoundSetMaxDistance(*sound.l, max.f)

## INPUTS

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

## FUNCTION

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

## RESULT

nothing

## EXAMPLE

       IrrKlangSoundSetMaxDistance(*sound,40.0)