Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
EdyCommonTools.CameraFovController Class Reference
Inheritance diagram for EdyCommonTools.CameraFovController:

Public Types

enum  Mode { Mode.Free, Mode.AdjustToTarget, Mode.AdjustSizeToTargetDistance }
 

Public Member Functions

void ResetFieldOfView (float fovAngle)
 

Public Attributes

bool clampedFov
 
bool clampedSize
 
bool damped = true
 
float damping = 4.0f
 
float fieldOfView = 60.0f
 
float maxFov = 75.0f
 
float maxSize = 2.0f
 
float minFov = 10.0f
 
float minSize = 0.1f
 
Mode mode
 
Transform target
 
float targetSize = 1.0f
 
float targetSizeOffset = 0.0f
 

Member Enumeration Documentation

Enumerator
Free 
AdjustToTarget 
AdjustSizeToTargetDistance 

Member Function Documentation

void EdyCommonTools.CameraFovController.ResetFieldOfView ( float  fovAngle)
inline

Member Data Documentation

bool EdyCommonTools.CameraFovController.clampedFov
bool EdyCommonTools.CameraFovController.clampedSize
bool EdyCommonTools.CameraFovController.damped = true
float EdyCommonTools.CameraFovController.damping = 4.0f
float EdyCommonTools.CameraFovController.fieldOfView = 60.0f
float EdyCommonTools.CameraFovController.maxFov = 75.0f
float EdyCommonTools.CameraFovController.maxSize = 2.0f
float EdyCommonTools.CameraFovController.minFov = 10.0f
float EdyCommonTools.CameraFovController.minSize = 0.1f
Mode EdyCommonTools.CameraFovController.mode
Transform EdyCommonTools.CameraFovController.target
float EdyCommonTools.CameraFovController.targetSize = 1.0f
float EdyCommonTools.CameraFovController.targetSizeOffset = 0.0f

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