Skip to content

CreateInspectorView

Creates an inspector view for debugging the specified PrismaView. This tool is essential for inspecting the DOM, styles, and console output of your UI within the game environment.

void CreateInspectorView(PrismaView view);
  • Type: PrismaView
  • Description: The PrismaView for which to create the inspector

This method returns void.

// Create inspector for the view
PrismaUI->CreateInspectorView(view);
// Set position and size
PrismaUI->SetInspectorBounds(view, 100.0f, 100.0f, 800, 600);
// Make inspector visible
PrismaUI->SetInspectorVisibility(view, true);
  • Development Only: It is recommended to enable the inspector only during development or via a debug configuration option.