Click or drag to resize

VisualServerViewportSetSize Method

Sets the viewport's width and height.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ViewportSetSize(
	RID viewport,
	int width,
	int height
)

Parameters

viewport
Type: GodotRID

[Missing <param name="viewport"/> documentation for "M:Godot.VisualServer.ViewportSetSize(Godot.RID,System.Int32,System.Int32)"]

width
Type: SystemInt32

[Missing <param name="width"/> documentation for "M:Godot.VisualServer.ViewportSetSize(Godot.RID,System.Int32,System.Int32)"]

height
Type: SystemInt32

[Missing <param name="height"/> documentation for "M:Godot.VisualServer.ViewportSetSize(Godot.RID,System.Int32,System.Int32)"]

See Also