CreateWebUI3D: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|x| | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y| | {{FuncParam|y|The Y axis}} | ||
{{FuncParam|z| | {{FuncParam|z|The Z axis}} | ||
{{FuncParam|rx| | {{FuncParam|rx|The RX axis}} | ||
{{FuncParam|ry| | {{FuncParam|ry|The RY axis}} | ||
{{FuncParam|rz| | {{FuncParam|rz|The RZ axis}} | ||
{{FuncParam|width| | {{FuncParam|width|The width}} | ||
{{FuncParam|height | | {{FuncParam|height |The height}} | ||
{{FuncParamOptional|frameRate| | {{FuncParamOptional|frameRate|The framerate}} | ||
{{FuncReturnValue|web (number)}} | {{FuncReturnValue|web (number)}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local cinemaUI = CreateWebUI3D(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1360, 720, 60) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{WebFunctions}} | |||
Revision as of 13:41, 3 January 2020
Description
Creates a new WebUI in 3d space
Syntax
CreateWebUI3D(x, y, z, rx, ry, rz, width, height [, frameRate])
Parameters
- x
The X axis - y
The Y axis - z
The Z axis - rx
The RX axis - ry
The RY axis - rz
The RZ axis - width
The width - height
The height - frameRate (optional)
The framerate
Return Value
- web (number)
Example
local cinemaUI = CreateWebUI3D(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1360, 720, 60)