API Sound.SetVolume: Difference between revisions
Appearance
XML import |
XML Import to change Variable types into Variable Types |
||
| Line 10: | Line 10: | ||
==Parameters== | ==Parameters== | ||
[[Variable | [[Variable Types|HANDLE]] ''Sounds'' | ||
:The handle of the sound object to set the volume for | :The handle of the sound object to set the volume for | ||
[[Variable | [[Variable Types|FLOAT]] ''Volume'' | ||
:A value from 0=off to 1=full | :A value from 0=off to 1=full | ||
Revision as of 11:09, 10 June 2013
<sidebar>API contents</sidebar> Sets the volume of playbacks for this sound
Parameters
HANDLE Sounds
- The handle of the sound object to set the volume for
FLOAT Volume
- A value from 0=off to 1=full
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Sound.SetVolume(sounds, volume)
No additional information