Skip to content

Camera2D Zoom description too ambiguous to be useful #10818

Open
godotengine/godot
#104941
@paintsimmon

Description

@paintsimmon

Your Godot version:
4.4.1

Issue description:

The camera's zoom. A zoom of Vector(2, 2) doubles the size seen in the viewport. A zoom of Vector(0.5, 0.5) halves the size seen in the viewport.

I thought this meant that a zoom of Vector(2, 2) zooms out because I thought "size" referred the number of pixels on the screen. But it actually zooms in because it makes the pixels on the screen twice as large. I think this should be changed to something more clear. Also a picture to demonstrate zoom would be cool but I'm not sure if that's a thing that can be added to the page.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_camera2d.html#class-camera2d-property-zoom

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositoryenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions