VisualServerCameraSetPerspective Method |
Sets camera to use perspective projection. Objects on the screen becomes smaller when they are far away.
Namespace: Godot
public static void CameraSetPerspective( RID camera, float fovyDegrees, float zNear, float zFar )
[Missing <param name="camera"/> documentation for "M:Godot.VisualServer.CameraSetPerspective(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="fovyDegrees"/> documentation for "M:Godot.VisualServer.CameraSetPerspective(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="zNear"/> documentation for "M:Godot.VisualServer.CameraSetPerspective(Godot.RID,System.Single,System.Single,System.Single)"]
[Missing <param name="zFar"/> documentation for "M:Godot.VisualServer.CameraSetPerspective(Godot.RID,System.Single,System.Single,System.Single)"]