-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow access to editor's Camera2D/3D #8544
Labels
Comments
Why not use |
This is a duplicate of #1302 and has already been addressed by godotengine/godot#75694 and godotengine/godot#68696. The last link shows how to get all 3d editor cameras and the 2d transform. |
Closing per the above comment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the project you are working on
I work on project in which I read
camera.zoom
property to properly display my entities when I zoom out significantly.Describe the problem or limitation you are having in your project
I would like to have the ability to do the same when I am designing the scene. Currently I have to do some ugly workarounds to achieve this. (Initial code is not mine, I found it somewhere and adapted for my purpose):
then in my code I can do:
(currently it is not working as I want due to bug I have reported here 85524)
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Provide a API to access editor's Camera.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
N/A
If this enhancement will not be used often, can it be worked around with a few lines of script?
N/A
Is there a reason why this should be core and not an add-on in the asset library?
N/A
The text was updated successfully, but these errors were encountered: