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

Public Member Functions

override void Initialize (Transform self)
 
override void OnDisable (Transform self)
 
override void OnEnable (Transform self)
 
override void SetPose (Transform self, Vector3 position, Quaternion rotation)
 
override void Update (Transform self, Transform target, float deltaTime)
 
- Public Member Functions inherited from VehiclePhysics.CameraMode
virtual void Reset (Transform self, Transform target)
 
virtual void SetTargetConfig (VPCameraTarget targetConfig)
 

Public Attributes

bool adjustFov = true
 
bool adjustNearPlane = false
 
float damping = 4.0f
 
bool enableMovement = false
 
string forwardAxis = ""
 
string fovAxis = "Mouse ScrollWheel"
 
float fovDamping = 4.0f
 
float fovSpeed = 20.0f
 
string horizontalAxis = "Mouse X"
 
float horizontalSpeed = 4f
 
float maxFov = 60.0f
 
float maxVerticalAngle = 60.0f
 
float minFov = 10.0f
 
float minVerticalAngle = -60.0f
 
float movementDamping = 5.0f
 
float movementSpeed = 2.0f
 
float nearPlaneAtMinFov = 1.5f
 
string sidewaysAxis = ""
 
string upwardsAxis = ""
 
string verticalAxis = "Mouse Y"
 
float verticalSpeed = 2f
 
- Public Attributes inherited from VehiclePhysics.CameraMode
KeyCode hotKey = KeyCode.None
 

Additional Inherited Members

- Static Public Member Functions inherited from VehiclePhysics.CameraMode
static float GetInputForAxis (string axisName)
 

Member Function Documentation

override void VehiclePhysics.CameraFree.Initialize ( Transform  self)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

override void VehiclePhysics.CameraFree.OnDisable ( Transform  self)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

override void VehiclePhysics.CameraFree.OnEnable ( Transform  self)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

override void VehiclePhysics.CameraFree.SetPose ( Transform  self,
Vector3  position,
Quaternion  rotation 
)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

override void VehiclePhysics.CameraFree.Update ( Transform  self,
Transform  target,
float  deltaTime 
)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

Member Data Documentation

bool VehiclePhysics.CameraFree.adjustFov = true
bool VehiclePhysics.CameraFree.adjustNearPlane = false
float VehiclePhysics.CameraFree.damping = 4.0f
bool VehiclePhysics.CameraFree.enableMovement = false
string VehiclePhysics.CameraFree.forwardAxis = ""
string VehiclePhysics.CameraFree.fovAxis = "Mouse ScrollWheel"
float VehiclePhysics.CameraFree.fovDamping = 4.0f
float VehiclePhysics.CameraFree.fovSpeed = 20.0f
string VehiclePhysics.CameraFree.horizontalAxis = "Mouse X"
float VehiclePhysics.CameraFree.horizontalSpeed = 4f
float VehiclePhysics.CameraFree.maxFov = 60.0f
float VehiclePhysics.CameraFree.maxVerticalAngle = 60.0f
float VehiclePhysics.CameraFree.minFov = 10.0f
float VehiclePhysics.CameraFree.minVerticalAngle = -60.0f
float VehiclePhysics.CameraFree.movementDamping = 5.0f
float VehiclePhysics.CameraFree.movementSpeed = 2.0f
float VehiclePhysics.CameraFree.nearPlaneAtMinFov = 1.5f
string VehiclePhysics.CameraFree.sidewaysAxis = ""
string VehiclePhysics.CameraFree.upwardsAxis = ""
string VehiclePhysics.CameraFree.verticalAxis = "Mouse Y"
float VehiclePhysics.CameraFree.verticalSpeed = 2f

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