Application:enableDrawInfo

From GiderosMobile
Revision as of 21:20, 6 November 2024 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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(0x00ff00) -- green draw info OR
--application:enableDrawInfo(vector(0, 1, 0)) -- green draw info OR
application:enableDrawInfo(ColorValue(0, 1, 0)) -- green draw info (Gideros 2024.11+)