SceneTreeSetScreenStretch Method |
Configures screen stretching to the given SceneTreeStretchMode, SceneTreeStretchAspect, minimum size and shrink ratio.
Namespace: Godot
public void SetScreenStretch( SceneTreeStretchMode mode, SceneTreeStretchAspect aspect, Vector2 minsize, float shrink = 1f )
[Missing <param name="mode"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]
[Missing <param name="aspect"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]
[Missing <param name="minsize"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]
[Missing <param name="shrink"/> documentation for "M:Godot.SceneTree.SetScreenStretch(Godot.SceneTree.StretchMode,Godot.SceneTree.StretchAspect,Godot.Vector2,System.Single)"]