Kerbal Space Program
1.12.4
|
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
| |||
Properties | |
bool | enabled [get] |
Transform IKSPCamera.GetCameraTransform | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
float IKSPCamera.getPitch | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
Transform IKSPCamera.GetPivot | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
Quaternion IKSPCamera.getReferenceFrame | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
float IKSPCamera.getYaw | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
void IKSPCamera.OnNavigatorHandoff | ( | ) |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
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.
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.
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
pos |
Implemented in FlightCamera, PlanetariumCamera, SpaceCenterCamera2, SPHCamera, and VABCamera.
|
get |