BGE/Debug

Alias: BGE.Debug


Enums

BGE.Debug.LogLevel

enumstaticreadonly

Properties

  • info (default: "info")
  • warning (default: "warning")
  • error (default: "error")

Other

DebugOptions

static

Properties

  • draw_colliders (boolean)
  • draw_collider_names (boolean)
  • draw_safe_zones (boolean)
  • colliders_color (dynamic)
  • safe_action_zone_color (dynamic)
  • safe_title_zone_color (dynamic)
  • limit_frame_rate (integer)
  • show_debug_ui (boolean)
  • draw_debugUi_to_screen (boolean)
  • draw_entity_axes (boolean)
  • draw_entity_names (boolean)
  • draw_scene_object_normals (boolean)

Returns

  • BGE.Debug.DebugOptions

DebugWindow

static

Extends: BGE.UI.UiContainer

Parameters

Returns

  • BGE.Debug.DebugWindow

FpsDisplay

static

Extends: DebugWindow

Parameters

Properties

  • fps (integer)

Returns

  • BGE.Debug.FpsDisplay

GarbageCollectorDisplay

static

Extends: DebugWindow

Parameters

Returns

  • BGE.Debug.GarbageCollectorDisplay

InputDisplay

static

Extends: DebugWindow

Parameters

Returns

  • BGE.Debug.InputDisplay

LogDisplay

static

Extends: DebugWindow

A debug window that shows the most recent messages logged via Game.log(), color coded by level (white for info, yellow for warning, red for error). Auto-scrolls to always show the latest entries.

Parameters

Returns

  • BGE.Debug.LogDisplay

MemoryDisplay

static

Extends: DebugWindow

Parameters

Returns

  • BGE.Debug.MemoryDisplay