IrrKlangSSSetDefaultMaxDistance

section index

## NAME

IrrKlangSSSetDefaultMaxDistance - sets the default maximal distance for 3D sounds

## SYNOPSIS

IrrKlangSSSetDefaultMaxDistance(*soundsource.l, maxDistance.f)

## INPUTS

*soundsource.l | - | pointer to SoundSource that was added via IrrKlangAddSound()
maxDistance.f | - | maximal distance for 3D sounds

## FUNCTION

sets the default maximal distance for 3D sounds played from this source.

## RESULT

nothing

## EXAMPLE

       IrrKlangSSSetDefaultMaxDistance(*soundsource,40.0)