SetWebRotation: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetWebRotation(web, rx, ry, rz)}} {{FuncParameters}} {{FuncParam|web|__EDIT_ME__}} {{FuncParam|rx|..."
 
Guewen (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Set the rotation for the specified web.}}


{{FuncSyntax|SetWebRotation(web, rx, ry, rz)}}
{{FuncSyntax|SetWebRotation(web, rx, ry, rz)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|web|__EDIT_ME__}}
{{FuncParam|web|The web identifier}}
{{FuncParam|rx|__EDIT_ME__}}
{{FuncParam|rx|The rotation RX}}
{{FuncParam|ry|__EDIT_ME__}}
{{FuncParam|ry|The rotation RY}}
{{FuncParam|rz|__EDIT_ME__}}
{{FuncParam|rz|The rotation RZ}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetWebRotation(webId, 0.0, 0.0)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:WebFunctions}}

Latest revision as of 09:35, 4 January 2020

SetWebRotation

Type: Function
Context: Client
Introduced: v1.0

Description

Set the rotation for the specified web.

Syntax

SetWebRotation(web, rx, ry, rz)

Parameters

  • web
    The web identifier
  • rx
    The rotation RX
  • ry
    The rotation RY
  • rz
    The rotation RZ

Return Value

  • Returns true on success.

Example

SetWebRotation(webId, 0.0, 0.0)

See also