SetInspectorVisibility
Overview
Section titled “Overview”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.
Syntax
Section titled “Syntax”void SetInspectorVisibility(PrismaView view, bool visible);Parameters
Section titled “Parameters”view (required)
Section titled “view (required)”- Type:
PrismaView - Description: The
PrismaViewassociated with the inspector
visible (required)
Section titled “visible (required)”- Type:
bool - Description:
trueto show the inspector,falseto hide it
Return Value
Section titled “Return Value”This method returns void.
Usage Examples
Section titled “Usage Examples”// Show the inspectorPrismaUI->SetInspectorVisibility(view, true);// Hide the inspectorPrismaUI->SetInspectorVisibility(view, false);