Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Demos.GroundViewCamera Class Reference

A camera controller which remains in place in the scene and looks at the target. More...

Inheritance diagram for AerodynamicObjects.Demos.GroundViewCamera:

Public Attributes

Transform target
 
float defaultFov = 60f
 
float defaultDistance = 10f
 
float zoomRate = 5f
 
float lookSpeed = 2f
 

Detailed Description

A camera controller which remains in place in the scene and looks at the target.

The camera's field of view is adjusted to create a zoom effect based on the target's distance from the camera.

Member Data Documentation

◆ defaultDistance

float AerodynamicObjects.Demos.GroundViewCamera.defaultDistance = 10f

◆ defaultFov

float AerodynamicObjects.Demos.GroundViewCamera.defaultFov = 60f

◆ lookSpeed

float AerodynamicObjects.Demos.GroundViewCamera.lookSpeed = 2f

◆ target

Transform AerodynamicObjects.Demos.GroundViewCamera.target

◆ zoomRate

float AerodynamicObjects.Demos.GroundViewCamera.zoomRate = 5f

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