Skip to content

IsInspectorVisible

Returns true if the inspector overlay is currently visible for the specified PrismaView.

bool IsInspectorVisible(PrismaView view);
  • Type: PrismaView
  • Description: The PrismaView to check
  • Type: bool
  • Returns: true if the inspector is visible; otherwise, false
// Toggle inspector visibility
bool isVisible = PrismaUI->IsInspectorVisible(view);
PrismaUI->SetInspectorVisibility(view, !isVisible);