CreateWebUI3D: Difference between revisions

From Onset Developer Wiki
JanHolger (talk | contribs)
No edit summary
28days (talk | contribs)
No edit summary
Line 6: Line 6:


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|x|The X axis}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|The Y axis}}
{{FuncParam|z|__EDIT_ME__}}
{{FuncParam|z|The Z axis}}
{{FuncParam|rx|__EDIT_ME__}}
{{FuncParam|rx|The RX axis}}
{{FuncParam|ry|__EDIT_ME__}}
{{FuncParam|ry|The RY axis}}
{{FuncParam|rz|__EDIT_ME__}}
{{FuncParam|rz|The RZ axis}}
{{FuncParam|width|__EDIT_ME__}}
{{FuncParam|width|The width}}
{{FuncParam|height |__EDIT_ME__}}
{{FuncParam|height |The height}}
{{FuncParamOptional|frameRate|__EDIT_ME__}}
{{FuncParamOptional|frameRate|The framerate}}


{{FuncReturnValue|web (number)}}
{{FuncReturnValue|web (number)}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local cinemaUI = CreateWebUI3D(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1360, 720, 60)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
[[CreateRemoteWebUI3D]]<br>
{{WebFunctions}}
[[CreateWebUI]]<br>
[[CreateRemoteWebUI]]<br>
[[DestroyWebUI]]

Revision as of 13:41, 3 January 2020

CreateWebUI3D

Type: Function
Context: Client
Introduced: v1.0

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)

See also