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|__EDIT_ME__}}
{{FuncDescription|Get the specified sound's volume.}}


{{FuncSyntax|GetSoundVolume(sound)}}
{{FuncSyntax|GetSoundVolume(sound)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|sound|__EDIT_ME__}}
{{FuncParam|sound|The sound identifier returns from [[CreateSound]].}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|The volume in '''float''' type.}}


== Example ==
== Example ==
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[SetSoundVolume]]
* [[CreateSound]]
* [[DestroySound]]
* [[SetSoundPitch]]
* [[GetSoundPitch]]

Latest revision as of 15:16, 13 November 2019

GetSoundVolume

Type: Function
Context: Client
Introduced: v1.0

Description

Get the specified sound's volume.

Syntax

GetSoundVolume(sound)

Parameters

Return Value

  • The volume in float type.

Example

__EDIT_ME__

See also