SetInspectorBounds
Overview
Section titled “Overview”Sets the position and size of the inspector window. This allows you to customize where the debugging tools appear on the screen.
Syntax
Section titled “Syntax”void SetInspectorBounds( PrismaView view, float topLeftX, float topLeftY, unsigned int width, unsigned int height);Parameters
Section titled “Parameters”view (required)
Section titled “view (required)”- Type:
PrismaView - Description: The
PrismaViewassociated with the inspector
topLeftX (required)
Section titled “topLeftX (required)”- Type:
float - Description: The X coordinate of the top-left corner
topLeftY (required)
Section titled “topLeftY (required)”- Type:
float - Description: The Y coordinate of the top-left corner
width (required)
Section titled “width (required)”- Type:
unsigned int - Description: The width of the inspector window in pixels
height (required)
Section titled “height (required)”- Type:
unsigned int - Description: The height of the inspector window in pixels
Return Value
Section titled “Return Value”This method returns void.
Usage Examples
Section titled “Usage Examples”// Set inspector position and sizePrismaUI->SetInspectorBounds(view, 50.0f, 50.0f, 800, 600);