Click or drag to resize

SceneTreeSetScreenStretch Method

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetScreenStretch(
	SceneTreeStretchMode mode,
	SceneTreeStretchAspect aspect,
	Vector2 minsize,
	float shrink = 1f
)

Parameters

mode
Type: GodotSceneTreeStretchMode

[Missing <param name="mode"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]

aspect
Type: GodotSceneTreeStretchAspect

[Missing <param name="aspect"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]

minsize
Type: GodotVector2

[Missing <param name="minsize"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]

shrink (Optional)
Type: SystemSingle

[Missing <param name="shrink"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]

See Also