CreateInspectorView
Overview
Section titled “Overview”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.
Syntax
Section titled “Syntax”void CreateInspectorView(PrismaView view);Parameters
Section titled “Parameters”view (required)
Section titled “view (required)”- Type:
PrismaView - Description: The
PrismaViewfor which to create the inspector
Return Value
Section titled “Return Value”This method returns void.
Usage Examples
Section titled “Usage Examples”// Create inspector for the viewPrismaUI->CreateInspectorView(view);
// Set position and sizePrismaUI->SetInspectorBounds(view, 100.0f, 100.0f, 800, 600);
// Make inspector visiblePrismaUI->SetInspectorVisibility(view, true);Best Practices
Section titled “Best Practices”- Development Only: It is recommended to enable the inspector only during development or via a debug configuration option.