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|..." |
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| | {{FuncDescription|Set the rotation for the specified web.}} | ||
{{FuncSyntax|SetWebRotation(web, rx, ry, rz)}} | {{FuncSyntax|SetWebRotation(web, rx, ry, rz)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|web| | {{FuncParam|web|The web identifier}} | ||
{{FuncParam|rx| | {{FuncParam|rx|The rotation RX}} | ||
{{FuncParam|ry| | {{FuncParam|ry|The rotation RY}} | ||
{{FuncParam|rz| | {{FuncParam|rz|The rotation RZ}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
SetWebRotation(webId, 0.0, 0.0) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:WebFunctions}} |
Latest revision as of 09:35, 4 January 2020
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)