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.CameraOrbit Class Reference
Inheritance diagram for VehiclePhysics.CameraOrbit:
VehiclePhysics.CameraMode

Public Member Functions

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

Public Attributes

float distance = 10.0f
 
string distanceAxis = "Mouse ScrollWheel"
 
float distanceDamping = 4.0f
 
float distanceSpeed = 10.0f
 
string horizontalAxis = "Mouse X"
 
float horizontalSpeed = 5f
 
float maxDistance = 50.0f
 
float maxVerticalAngle = 80.0f
 
float minDistance = 5.0f
 
float minVerticalAngle = -20.0f
 
float orbitDamping = 4.0f
 
string verticalAxis = "Mouse Y"
 
float verticalSpeed = 2.5f
 
- 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.CameraOrbit.Initialize ( Transform  self)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

override void VehiclePhysics.CameraOrbit.SetTargetConfig ( VPCameraTarget  targetConfig)
inlinevirtual

Reimplemented from VehiclePhysics.CameraMode.

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

Reimplemented from VehiclePhysics.CameraMode.

Member Data Documentation

float VehiclePhysics.CameraOrbit.distance = 10.0f
string VehiclePhysics.CameraOrbit.distanceAxis = "Mouse ScrollWheel"
float VehiclePhysics.CameraOrbit.distanceDamping = 4.0f
float VehiclePhysics.CameraOrbit.distanceSpeed = 10.0f
string VehiclePhysics.CameraOrbit.horizontalAxis = "Mouse X"
float VehiclePhysics.CameraOrbit.horizontalSpeed = 5f
float VehiclePhysics.CameraOrbit.maxDistance = 50.0f
float VehiclePhysics.CameraOrbit.maxVerticalAngle = 80.0f
float VehiclePhysics.CameraOrbit.minDistance = 5.0f
float VehiclePhysics.CameraOrbit.minVerticalAngle = -20.0f
float VehiclePhysics.CameraOrbit.orbitDamping = 4.0f
string VehiclePhysics.CameraOrbit.verticalAxis = "Mouse Y"
float VehiclePhysics.CameraOrbit.verticalSpeed = 2.5f

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