CreateWebUI3D: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|Creates a new WebUI in 3d space}}
{{FuncDescription|Creates a new WebUI in 3d space. Use [[DestroyWebUI]] to destroy it.}}


{{FuncSyntax|CreateWebUI3D(x, y, z, rx, ry, rz, width, height [, frameRate])}}
{{FuncSyntax|CreateWebUI3D(x, y, z, rx, ry, rz, width, height [, frameRate])}}

Revision as of 21:00, 12 January 2020

CreateWebUI3D

Type: Function
Context: Client
Introduced: v1.0

Description

Creates a new WebUI in 3d space. Use DestroyWebUI to destroy it.

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