Skip to content

SetInspectorBounds

Sets the position and size of the inspector window. This allows you to customize where the debugging tools appear on the screen.

void SetInspectorBounds(
PrismaView view,
float topLeftX,
float topLeftY,
unsigned int width,
unsigned int height
);
  • Type: PrismaView
  • Description: The PrismaView associated with the inspector
  • Type: float
  • Description: The X coordinate of the top-left corner
  • Type: float
  • Description: The Y coordinate of the top-left corner
  • Type: unsigned int
  • Description: The width of the inspector window in pixels
  • Type: unsigned int
  • Description: The height of the inspector window in pixels

This method returns void.

// Set inspector position and size
PrismaUI->SetInspectorBounds(view, 50.0f, 50.0f, 800, 600);