{"id":14960979,"url":"https://github.com/gilzoide/unity-camera-fov-fit","last_synced_at":"2025-10-04T13:51:08.240Z","repository":{"id":237133068,"uuid":"793874309","full_name":"gilzoide/unity-camera-fov-fit","owner":"gilzoide","description":"Automatically adjust cameras' FOV to 3D objects bounds in Unity","archived":false,"fork":false,"pushed_at":"2024-08-11T15:37:04.000Z","size":24,"stargazers_count":28,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T03:54:04.481Z","etag":null,"topics":["camera","field-of-view","fov","unity","unity2d","unity3d","upm","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["gilzoide"],"patreon":null,"open_collective":null,"ko_fi":"gilzoide","tidelift":null,"community_bridge":null,"liberapay":"gilzoide","issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-04-30T03:13:37.000Z","updated_at":"2024-12-18T12:45:40.000Z","dependencies_parsed_at":"2024-10-10T10:40:28.237Z","dependency_job_id":null,"html_url":"https://github.com/gilzoide/unity-camera-fov-fit","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"4285541679be863284100da622baa852a1711a58"},"previous_names":["gilzoide/unity-camera-fov-fit"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-camera-fov-fit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-camera-fov-fit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-camera-fov-fit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-camera-fov-fit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/unity-camera-fov-fit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera","field-of-view","fov","unity","unity2d","unity3d","upm","upm-package"],"created_at":"2024-09-24T13:23:35.627Z","updated_at":"2025-10-04T13:51:03.197Z","avatar_url":"https://github.com/gilzoide.png","language":"C#","funding_links":["https://github.com/sponsors/gilzoide","https://ko-fi.com/gilzoide","https://liberapay.com/gilzoide"],"categories":[],"sub_categories":[],"readme":"# Camera FOV Fit\n[![openupm](https://img.shields.io/npm/v/com.gilzoide.camera-fov-fit?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gilzoide.camera-fov-fit/)\n\nAutomatically adjust cameras' Field Of View (FOV) to 3D objects's bounds in Unity.\n\n\n## Features\n- FOV fitter scripts automatically adjust a camera's FOV to fit the object's bounds.\n  Only the FOV is adjusted, so that it's transform is maintained.\n- Supports both Perspective and Orthogonal cameras.\n- [BoundsFovFitter](Runtime/BoundsFovFitter.cs): fits the target camera's FOV to the specified bounds.\n- [ColliderFovFitter](Runtime/ColliderFovFitter.cs): fits the target camera's FOV to the specified collider's bounds.\n- [RendererFovFitter](Runtime/RendererFovFitter.cs): fits the target camera's FOV to the specified renderer's bounds.\n- Configuration for adjusting the FOV automatically in Start, every frame in Update, or none: just call `RefreshFov` manually whenever necessary.\n- [Camera.FitFovToBounds](Runtime/FovFitMath.cs) extension method for fitting a camera's FOV to the specified bounds without using the provided components.\n\n\n## How to install\nEither:\n- Use the [openupm registry](https://openupm.com/) and install this package using the [openupm-cli](https://github.com/openupm/openupm-cli):\n  ```\n  openupm add com.gilzoide.camera-fov-fit\n  ```\n- Install using the [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html) with the following URL:\n  ```\n  https://github.com/gilzoide/unity-camera-fov-fit.git#1.0.0\n  ```\n- Clone this repository or download a snapshot of it directly inside your project's `Assets` or `Packages` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-camera-fov-fit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Funity-camera-fov-fit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-camera-fov-fit/lists"}