SetWebPitch

From Onset Developer Wiki
Revision as of 14:00, 23 February 2022 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.5.5}} {{FuncDescription|Set the web UI audio pitch.}} {{FuncSyntax|SetWebPitch(web, pitch)}} {{FuncParameters}} {{FuncParam|web|The web identifier}} {{FuncParam|pitch|The new audio pitch, default: 1.0}} {{FuncReturnValue|This function returns '''true''' on success.}} == Example == <syntaxhighlight lang='Lua'> SetWebPitch(web, 0.85) </syntaxhighlight> {{RelatedFunctions}} {{Template:WebFunctions}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetWebPitch

Type: Function
Context: Client
Introduced: v1.5.5

Description

Set the web UI audio pitch.

Syntax

SetWebPitch(web, pitch)

Parameters

  • web
    The web identifier
  • pitch
    The new audio pitch, default: 1.0

Return Value

  • This function returns true on success.

Example

SetWebPitch(web, 0.85)

See also