GetSoundVolume: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetSoundVolume(sound)}} {{FuncParameters}} {{FuncParam|sound|__EDIT_ME__}} {{FuncReturnValue|__ED..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the specified sound's volume.}} | ||
{{FuncSyntax|GetSoundVolume(sound)}} | {{FuncSyntax|GetSoundVolume(sound)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|sound| | {{FuncParam|sound|The sound identifier returns from [[CreateSound]].}} | ||
{{FuncReturnValue| | {{FuncReturnValue|The volume in '''float''' type.}} | ||
== Example == | == Example == | ||
Line 14: | Line 14: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[SetSoundVolume]] | |||
* [[CreateSound]] | |||
* [[DestroySound]] | |||
* [[SetSoundPitch]] | |||
* [[GetSoundPitch]] |
Latest revision as of 15:16, 13 November 2019
Description
Get the specified sound's volume.
Syntax
GetSoundVolume(sound)
Parameters
- sound
The sound identifier returns from CreateSound.
Return Value
- The volume in float type.
Example
__EDIT_ME__