Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/track/camera-fov-fit.git

README

Camera FOV Fit

openupm

Automatically adjust cameras' Field Of View (FOV) to 3D objects's bounds in Unity.

Features

  • FOV fitter scripts automatically adjust a camera's FOV to fit the object's bounds. Only the FOV is adjusted, so that it's transform is maintained.
  • Supports both Perspective and Orthogonal cameras.
  • BoundsFovFitter: fits the target camera's FOV to the specified bounds.
  • ColliderFovFitter: fits the target camera's FOV to the specified collider's bounds.
  • RendererFovFitter: fits the target camera's FOV to the specified renderer's bounds.
  • Configuration for adjusting the FOV automatically in Start, every frame in Update, or none: just call RefreshFov manually whenever necessary.
  • Camera.FitFovToBounds extension method for fitting a camera's FOV to the specified bounds without using the provided components.

How to install

Either:

  • Use the openupm registry and install this package using the openupm-cli:
    openupm add com.gilzoide.camera-fov-fit
    
  • Install using the Unity Package Manager with the following URL:
    https://github.com/gilzoide/unity-camera-fov-fit.git#1.0.0
    
  • Clone this repository or download a snapshot of it directly inside your project's Assets or Packages folder.
Total Installs
0
Last 30 days
Unique IPs
0
Approximate users

Installs Over Time

Operating Systems

No data yet

Top Countries

No data yet

Git Versions

No data yet

Embed Install Badge

Add an install count badge to your README

Style
Preview
pkglnk installs badge
Markdown
[![pkglnk installs](https://www.pkglnk.dev/badge/camera-fov-fit.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/camera-fov-fit)
HTML
<a href="https://www.pkglnk.dev/pkg/camera-fov-fit"><img src="https://www.pkglnk.dev/badge/camera-fov-fit.svg?style=pkglnk" alt="pkglnk installs"></a>

Comments

No comments yet. Be the first!