VisualServerCameraSetOrthogonal Method |
Sets camera to use orthogonal projection, also known as orthographic projection. Objects remain the same size on the screen no matter how far away they are.
Namespace: Godot
public static void CameraSetOrthogonal( RID camera, float size, float zNear, float zFar )
[Missing <param name="camera"/> documentation for "M:Godot.VisualServer.CameraSetOrthogonal(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="size"/> documentation for "M:Godot.VisualServer.CameraSetOrthogonal(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="zNear"/> documentation for "M:Godot.VisualServer.CameraSetOrthogonal(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="zFar"/> documentation for "M:Godot.VisualServer.CameraSetOrthogonal(Godot.RID,System.Single,System.Single,System.Single)"]