void PlanetariumCamera.Activate |
( |
| ) |
|
|
inline |
void PlanetariumCamera.Activate |
( |
bool |
enableAudioListener | ) |
|
|
inline |
Activates this camera with optional activation of it's audio listener
- Parameters
-
int PlanetariumCamera.AddTarget |
( |
MapObject |
tgt | ) |
|
|
inline |
void PlanetariumCamera.Deactivate |
( |
| ) |
|
|
inline |
MapObject PlanetariumCamera.FindNearestTarget |
( |
| ) |
|
|
inline |
MapObject PlanetariumCamera.FindNearestTarget |
( |
Vector3 |
position | ) |
|
|
inline |
Transform PlanetariumCamera.GetCameraTransform |
( |
| ) |
|
|
inline |
float PlanetariumCamera.getPitch |
( |
| ) |
|
|
inline |
Transform PlanetariumCamera.GetPivot |
( |
| ) |
|
|
inline |
Quaternion PlanetariumCamera.getReferenceFrame |
( |
| ) |
|
|
inline |
MapObject PlanetariumCamera.GetTarget |
( |
int |
index | ) |
|
|
inline |
int PlanetariumCamera.GetTargetIndex |
( |
string |
targetName | ) |
|
|
inline |
float PlanetariumCamera.getYaw |
( |
| ) |
|
|
inline |
void PlanetariumCamera.OnNavigatorHandoff |
( |
| ) |
|
|
inline |
bool PlanetariumCamera.OnNavigatorRequestControl |
( |
| ) |
|
|
inline |
Called before the device takes control of camera input. Return true to allow the device to have control, or false to deny it.
- Returns
Implements IKSPCamera.
System.Func<bool> PlanetariumCamera.OnNavigatorTakeOver |
( |
Callback |
RequestControl | ) |
|
|
inline |
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
Implements IKSPCamera.
void PlanetariumCamera.onVesselSwitching |
( |
Vessel |
from, |
|
|
Vessel |
to |
|
) |
| |
|
inlineprotected |
< remove old target after adding the new one so as to avoid target becoming null (and defaulting to something else) during the switch
void PlanetariumCamera.RemoveTarget |
( |
MapObject |
tgt | ) |
|
|
inline |
void PlanetariumCamera.SetCamCoordsFromPosition |
( |
Vector3 |
wPos | ) |
|
|
inline |
Set the camera's coordinates (camPitch, camHdg) from the given worldspace position
- Parameters
-
Implements IKSPCamera.
void PlanetariumCamera.SetDistance |
( |
float |
dist | ) |
|
|
inline |
int PlanetariumCamera.SetTarget |
( |
string |
name | ) |
|
|
inline |
int PlanetariumCamera.SetTarget |
( |
int |
tgtIdx | ) |
|
|
inline |
void PlanetariumCamera.SetTarget |
( |
MapObject |
tgt | ) |
|
|
inline |
< find the active target and focus it
Callback PlanetariumCamera.AbortExternalControl = () => { } |
float PlanetariumCamera.camHdg = 0f |
float PlanetariumCamera.camPitch = 0f |
float PlanetariumCamera.maxDistance = 150000f |
float PlanetariumCamera.maxPitch = 0.95f |
float PlanetariumCamera.minDistance = 3f |
float PlanetariumCamera.minPitch = -0.95f |
float PlanetariumCamera.orbitSensitivity = 0.5f |
float PlanetariumCamera.sharpness = 10f |
float PlanetariumCamera.startDistance = 30f |
bool PlanetariumCamera.TabSwitchTargets |
float PlanetariumCamera.zoomScaleFactor = 1.2f |
Camera PlanetariumCamera.Camera |
|
staticget |
float PlanetariumCamera.Distance |
|
get |
Quaternion PlanetariumCamera.pivotRotation |
|
get |
The documentation for this class was generated from the following file: