fadeEnvironment
Jump to navigation
Jump to search
Hover & click on the images for descriptions
Description
- Description:
- Causes a smooth change in the master volume of the environment and is different from enableEnvironment global mute option. The change duration is given by time, the target volume by volume. The default volume is 1.0.
Syntax
- Syntax:
- time fadeEnvironment volume
- Parameters:
- time: Number - fade interval in seconds
- volume: Number - speech volume range 0 to 1. Maximum volume is 1. Default is 1.
- Return Value:
- Nothing
Examples
- Example 1:
5 fadeEnvironment 0.1;
Additional Information
- See also:
- environmentVolumefadeSpeechfadeRadiofadeSoundfadeMusicsoundVolumemusicVolumeradioVolumespeechVolumeenableEnvironmentenvironmentEnabled
- Groups:
- Sounds