Click or drag to resize

ViewportSetAttachToScreenRect Method

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetAttachToScreenRect(
	Rect2 rect
)

Parameters

rect
Type: GodotRect2

[Missing <param name="rect"/> documentation for "M:Godot.Viewport.SetAttachToScreenRect(Godot.Rect2)"]

See Also