Viewport.setAttachToScreenRect

Attaches this Viewport to the root Viewport with the specified rectangle. This bypasses the need for another node to display this Viewport but makes you responsible for updating the position of this Viewport manually.

struct Viewport
@nogc nothrow
void
setAttachToScreenRect
(
in Rect2 rect
)

Meta