Click or drag to resize

VisualServerCameraSetUseVerticalAspect Method

If true, preserves the horizontal aspect ratio which is equivalent to . If false, preserves the vertical aspect ratio which is equivalent to .

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void CameraSetUseVerticalAspect(
	RID camera,
	bool enable
)

Parameters

camera
Type: GodotRID

[Missing <param name="camera"/> documentation for "M:Godot.VisualServer.CameraSetUseVerticalAspect(Godot.RID,System.Boolean)"]

enable
Type: SystemBoolean

[Missing <param name="enable"/> documentation for "M:Godot.VisualServer.CameraSetUseVerticalAspect(Godot.RID,System.Boolean)"]

See Also