Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
IKSPCamera Interface Reference
Inheritance diagram for IKSPCamera:
FlightCamera PlanetariumCamera SpaceCenterCamera2 SPHCamera VABCamera

Public Member Functions

Transform GetCameraTransform ()
 
float getPitch ()
 
Transform GetPivot ()
 
Quaternion getReferenceFrame ()
 
float getYaw ()
 
void OnNavigatorHandoff ()
 
bool OnNavigatorRequestControl ()
 Called before the device takes control of camera input. Return true to allow the device to have control, or false to deny it. More...
 
Func< bool > OnNavigatorTakeOver (Callback RequestControl)
 Called when the device is about to take control of camera input. Return a method to be used to check whether the camera should receive control again. Also if necessary to get control back immediately, you can call the provided callback parameter. More...
 
void SetCamCoordsFromPosition (Vector3 wPos)
 Set the camera's coordinates (camPitch, camHdg) from the given worldspace position

Parameters
pos
More...
 

Properties

bool enabled [get]
 

Member Function Documentation

Transform IKSPCamera.GetCameraTransform ( )
float IKSPCamera.getPitch ( )
Transform IKSPCamera.GetPivot ( )
Quaternion IKSPCamera.getReferenceFrame ( )
float IKSPCamera.getYaw ( )
void IKSPCamera.OnNavigatorHandoff ( )
bool IKSPCamera.OnNavigatorRequestControl ( )

Called before the device takes control of camera input. Return true to allow the device to have control, or false to deny it.

Returns

Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.

Func<bool> IKSPCamera.OnNavigatorTakeOver ( Callback  RequestControl)

Called when the device is about to take control of camera input. Return a method to be used to check whether the camera should receive control again. Also if necessary to get control back immediately, you can call the provided callback parameter.

Returns

Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.

void IKSPCamera.SetCamCoordsFromPosition ( Vector3  wPos)

Set the camera's coordinates (camPitch, camHdg) from the given worldspace position

Parameters
pos

Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.

Property Documentation

bool IKSPCamera.enabled
get

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