My Project
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Static Public Member Functions | List of all members
UniExtensions.CameraExtensionMethods Class Reference

Static Public Member Functions

static void Zoom (this Camera camera, float FOV, float T)
 Smoothly change a camera's FOV from current to target FOV over T seconds. More...
 

Member Function Documentation

static void UniExtensions.CameraExtensionMethods.Zoom ( this Camera  camera,
float  FOV,
float  T 
)
inlinestatic

Smoothly change a camera's FOV from current to target FOV over T seconds.

Parameters
cameraA Camera
FOVA System.Single The target FOV
TA System.Single The time in seconds taken to reach the target.

The documentation for this class was generated from the following file: