Skip to content

SetInspectorVisibility

Shows or hides the inspector overlay for a specific PrismaView. This allows you to toggle the visibility of the debugging tools without destroying the inspector instance.

void SetInspectorVisibility(PrismaView view, bool visible);
  • Type: PrismaView
  • Description: The PrismaView associated with the inspector
  • Type: bool
  • Description: true to show the inspector, false to hide it

This method returns void.

// Show the inspector
PrismaUI->SetInspectorVisibility(view, true);