Difference between revisions of "Application:enableDrawInfo"

From GiderosMobile
Line 10: Line 10:
 
=== Parameters ===
 
=== Parameters ===
 
'''color''': (vector) the color to use when drawing info, or '''nil''' to disable<br/>
 
'''color''': (vector) the color to use when drawing info, or '''nil''' to disable<br/>
 +
 +
=== Example ===
 +
<source lang="lua">
 +
application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info
 +
</source>
  
 
{{Application}}
 
{{Application}}

Revision as of 21:11, 26 June 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