Difference between revisions of "Application:enableDrawInfo"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source" to "</syntaxhighlight")
Line 6: Line 6:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
application:enableDrawInfo(color)
 
application:enableDrawInfo(color)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
Line 14: Line 14:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info
 
application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info
</source>
+
</syntaxhighlight>
  
 
{{Application}}
 
{{Application}}

Revision as of 17:22, 12 July 2023

Available since: Gideros 2022.3
Class: Application

Description

Shows or hides Gideros info layer in the given color.

application:enableDrawInfo(color)

Parameters

color: (vector) the color to use when drawing info, or nil to disable

Example

application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info