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

Public Types

enum  Mode {
  Mode.AttachTo, Mode.SmoothFollow, Mode.Orbit, Mode.LookAt,
  Mode.Free
}
 
enum  TimeMode { TimeMode.Standard, TimeMode.Unscaled, TimeMode.Smooth, TimeMode.RefreshRate }
 

Public Member Functions

void NextCameraMode ()
 
void ResetCamera ()
 
void SetPose (Vector3 position, Quaternion rotation)
 
void SetTargetConfig (VPCameraTarget targetConfig)
 

Public Attributes

CameraAttachTo attachTo = new CameraAttachTo()
 
KeyCode changeCameraKey = KeyCode.C
 
int customCameraIndex = 0
 
CameraFree free = new CameraFree()
 
CameraLookAt lookAt = new CameraLookAt()
 
Mode mode = Mode.SmoothFollow
 
CameraOrbit orbit = new CameraOrbit()
 
CameraSmoothFollow smoothFollow = new CameraSmoothFollow()
 
Transform target
 
TimeMode timeMode = TimeMode.Unscaled
 

Member Enumeration Documentation

Enumerator
AttachTo 
SmoothFollow 
Orbit 
LookAt 
Free 
Enumerator
Standard 
Unscaled 
Smooth 
RefreshRate 

Member Function Documentation

void VehiclePhysics.VPCameraController.NextCameraMode ( )
inline
void VehiclePhysics.VPCameraController.ResetCamera ( )
inline
void VehiclePhysics.VPCameraController.SetPose ( Vector3  position,
Quaternion  rotation 
)
inline
void VehiclePhysics.VPCameraController.SetTargetConfig ( VPCameraTarget  targetConfig)
inline

Member Data Documentation

CameraAttachTo VehiclePhysics.VPCameraController.attachTo = new CameraAttachTo()
KeyCode VehiclePhysics.VPCameraController.changeCameraKey = KeyCode.C
int VehiclePhysics.VPCameraController.customCameraIndex = 0
CameraFree VehiclePhysics.VPCameraController.free = new CameraFree()
CameraLookAt VehiclePhysics.VPCameraController.lookAt = new CameraLookAt()
Mode VehiclePhysics.VPCameraController.mode = Mode.SmoothFollow
CameraOrbit VehiclePhysics.VPCameraController.orbit = new CameraOrbit()
CameraSmoothFollow VehiclePhysics.VPCameraController.smoothFollow = new CameraSmoothFollow()
Transform VehiclePhysics.VPCameraController.target
TimeMode VehiclePhysics.VPCameraController.timeMode = TimeMode.Unscaled

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