< Zurück | Inhalt | Weiter >

12.4.5 Controlling the extent of the audio for the helicopters

The distance over which the PointSounds created for the three helicopters can be heard is controlled by three factors: (1) the ViewPlatform’s activation radius, (2) the scheduling bounds of the Sound, and (3) distance/gain parameters of the PointSound itself.

A PointSound is potentially audible when the ViewPlatform’s activation radius intersects the scheduling bounds for the Sound. The actual volume of the mixed sound is controlled by the distance/gain parameters for the PointSound.


From Helicopter.java