Difference between revisions of "ImGui.Core.new"

From GiderosMobile
Line 11: Line 11:
 
=== Parameters ===
 
=== Parameters ===
 
'''xxx''': (table) parameters '''optional'''<br/>
 
'''xxx''': (table) parameters '''optional'''<br/>
 +
 +
=== Example ===
 +
<source lang="lua">
 +
local imgui = ImGui.new()
 +
print("hello ImGui v"..ImGui._VERSION)
 +
stage:addChild(imgui)
 +
</source>
  
 
{{ImGui}}
 
{{ImGui}}

Revision as of 03:28, 23 March 2021

Available since: Gideros 2020.9
Class: ImGui

Description

Initializes a new ImGui instance.

ImGui.new()

Parameters

xxx: (table) parameters optional

Example

local imgui = ImGui.new()
print("hello ImGui v"..ImGui._VERSION)
stage:addChild(imgui)