|
| virtual void | ActivateUpdate () |
| |
| virtual void | CycleCameraHighlighter () |
| | Cycle all cameras Highlighting System On. More...
|
| |
| virtual void | DeactivateUpdate () |
| |
| virtual void | DisableCamera () |
| |
| virtual void | DisableCamera (bool disableAudioListener) |
| | Disables this camera, with an optiojn to disable it's audio listener as well. Useful when switching between FlightCamera and PlanetariumCamera, so audio is not different when switching views More...
|
| |
| virtual void | DisableCameraHighlighter () |
| | Cycle all cameras Highlighting System Off. More...
|
| |
| virtual void | EnableCamera () |
| |
| Quaternion | GetCameraFoR (FoRModes mode) |
| |
| virtual Transform | GetCameraTransform () |
| |
| virtual float | getPitch () |
| |
| virtual Transform | GetPivot () |
| |
| Quaternion | getReferenceFrame () |
| |
| virtual float | getYaw () |
| |
| virtual void | OnNavigatorHandoff () |
| |
| virtual 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...
|
| |
| virtual 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...
|
| |
| virtual void | ResetFoV () |
| |
| virtual void | ResumeFoV () |
| |
| virtual void | SetCamCoordsFromPosition (Vector3 wPos) |
| | Set the camera's coordinates (camPitch, camHdg) from the given worldspace position - Parameters
-
More...
|
| |
| virtual void | SetDefaultFoV () |
| |
| virtual void | SetDistance (float dist) |
| | sets the target distance for the camera, so it will lerp to the end position. More...
|
| |
| virtual void | SetDistanceImmediate (float dist) |
| | sets the distance for the camera, and moves it immediately to the end position. More...
|
| |
| virtual void | SetFoV (float fov) |
| |
| virtual void | setMode (Modes m) |
| |
| virtual void | setModeImmediate (Modes m) |
| |
| void | SetNextMode () |
| |
| virtual void | SetTarget (Transform tgt, TargetMode targetMode=TargetMode.Transform) |
| |
| virtual void | SetTarget (Transform tgt, bool keepWorldPos, TargetMode targetMode=TargetMode.Transform) |
| |
| virtual void | SetTargetNone () |
| |
| virtual void | SetTargetPart (Part part) |
| |
| virtual void | SetTargetTransform (Transform tgt) |
| |
| virtual void | SetTargetVessel (Vessel vessel) |
| |
| virtual void | TargetActiveVessel () |
| |
| Enumerator |
|---|
| Parked |
|
| Velocity |
|
| Target_SrfUp |
|
| Target_YUp |
|
| Null |
|
| Enumerator |
|---|
| AUTO |
|
| FREE |
|
| ORBITAL |
|
| CHASE |
|
| LOCKED |
|
| Enumerator |
|---|
| None |
|
| Vessel |
|
| Part |
|
| Transform |
|
| virtual void FlightCamera.ActivateUpdate |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
| static void FlightCamera.ClearTarget |
( |
| ) |
|
|
inlinestatic |
| virtual void FlightCamera.CycleCameraHighlighter |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.DeactivateUpdate |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.DisableCamera |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.DisableCamera |
( |
bool |
disableAudioListener | ) |
|
|
inlinevirtual |
Disables this camera, with an optiojn to disable it's audio listener as well. Useful when switching between FlightCamera and PlanetariumCamera, so audio is not different when switching views
- Parameters
-
| virtual void FlightCamera.DisableCameraHighlighter |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.EnableCamera |
( |
| ) |
|
|
inlinevirtual |
| static Modes FlightCamera.GetAutoModeForVessel |
( |
Vessel |
v | ) |
|
|
inlinestatic |
| Quaternion FlightCamera.GetCameraFoR |
( |
FoRModes |
mode | ) |
|
|
inline |
| virtual Transform FlightCamera.GetCameraTransform |
( |
| ) |
|
|
inlinevirtual |
| Quaternion FlightCamera.GetChaseFoR |
( |
Vessel |
v | ) |
|
|
inlineprotected |
| virtual float FlightCamera.getPitch |
( |
| ) |
|
|
inlinevirtual |
| Quaternion FlightCamera.getReferenceFrame |
( |
| ) |
|
|
inline |
| virtual Quaternion FlightCamera.getRotation |
( |
float |
pitch, |
|
|
float |
hdg |
|
) |
| |
|
inlineprotectedvirtual |
| virtual float FlightCamera.getYaw |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.LateUpdate |
( |
| ) |
|
|
inlineprotectedvirtual |
< collect input
< MMB :: Orbit
< TrackIR look-around
< update camera frame of reference based on camera mode
| static void FlightCamera.MinDistanceBackaway |
( |
| ) |
|
|
inlinestatic |
Adjust the camera distance to be larg enough to show the vessel according to the backoff values
If its already far enough then the distance is maintained
| virtual void FlightCamera.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.OnLevelLoaded |
( |
GameScenes |
level | ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.OnNavigatorHandoff |
( |
| ) |
|
|
inlinevirtual |
| virtual bool FlightCamera.OnNavigatorRequestControl |
( |
| ) |
|
|
inlinevirtual |
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.
| virtual Func<bool> FlightCamera.OnNavigatorTakeOver |
( |
Callback |
RequestControl | ) |
|
|
inlinevirtual |
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.
| virtual void FlightCamera.OnSceneLoaded |
( |
UnityEngine.SceneManagement.Scene |
scene, |
|
|
UnityEngine.SceneManagement.LoadSceneMode |
mode |
|
) |
| |
|
inlineprotectedvirtual |
| virtual void FlightCamera.OnSceneSwitch |
( |
GameScenes |
scene | ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.OnTargetDestroyed |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.OnVesselChange |
( |
Vessel |
vessel | ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.ResetFoV |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.ResumeFoV |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.SetCamCoordsFromPosition |
( |
Vector3 |
wPos | ) |
|
|
inlinevirtual |
Set the camera's coordinates (camPitch, camHdg) from the given worldspace position
- Parameters
-
Implements IKSPCamera.
| virtual void FlightCamera.SetDefaultFoV |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.SetDistance |
( |
float |
dist | ) |
|
|
inlinevirtual |
sets the target distance for the camera, so it will lerp to the end position.
- Parameters
-
| virtual void FlightCamera.SetDistanceImmediate |
( |
float |
dist | ) |
|
|
inlinevirtual |
sets the distance for the camera, and moves it immediately to the end position.
- Parameters
-
| virtual void FlightCamera.SetFoV |
( |
float |
fov | ) |
|
|
inlinevirtual |
| static void FlightCamera.SetMode |
( |
Modes |
m | ) |
|
|
inlinestatic |
| virtual void FlightCamera.setMode |
( |
Modes |
m | ) |
|
|
inlinevirtual |
| static void FlightCamera.SetModeImmediate |
( |
Modes |
m | ) |
|
|
inlinestatic |
| virtual void FlightCamera.setModeImmediate |
( |
Modes |
m | ) |
|
|
inlinevirtual |
| void FlightCamera.SetNextMode |
( |
| ) |
|
|
inline |
| static void FlightCamera.SetTarget |
( |
Vessel |
vessel | ) |
|
|
inlinestatic |
| static void FlightCamera.SetTarget |
( |
Part |
part | ) |
|
|
inlinestatic |
| static void FlightCamera.SetTarget |
( |
Transform |
transform | ) |
|
|
inlinestatic |
| virtual void FlightCamera.SetTarget |
( |
Transform |
tgt, |
|
|
TargetMode |
targetMode = TargetMode.Transform |
|
) |
| |
|
inlinevirtual |
| virtual void FlightCamera.SetTarget |
( |
Transform |
tgt, |
|
|
bool |
keepWorldPos, |
|
|
TargetMode |
targetMode = TargetMode.Transform |
|
) |
| |
|
inlinevirtual |
< find the active target and focus it
< EVAs don't like wobbly cameras, it gets jittery.
| virtual void FlightCamera.SetTargetNone |
( |
| ) |
|
|
inlinevirtual |
| virtual void FlightCamera.SetTargetPart |
( |
Part |
part | ) |
|
|
inlinevirtual |
| virtual void FlightCamera.SetTargetTransform |
( |
Transform |
tgt | ) |
|
|
inlinevirtual |
| virtual void FlightCamera.SetTargetVessel |
( |
Vessel |
vessel | ) |
|
|
inlinevirtual |
| virtual void FlightCamera.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual IEnumerator FlightCamera.Startup |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.TargetActiveVessel |
( |
| ) |
|
|
inlinevirtual |
| virtual bool FlightCamera.TrackIRisActive |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void FlightCamera.UpdateCameraTransform |
( |
| ) |
|
|
inlineprotectedvirtual |
< allow the target's rotation to influence the camera a little.
< clamp local pitch to 89°
| virtual void FlightCamera.updateFoR |
( |
Quaternion |
FoR, |
|
|
float |
lerpT |
|
) |
| |
|
inlineprotectedvirtual |
| Callback FlightCamera.AbortExternalControl = () => { } |
| GameObject FlightCamera.AudioListenerGameObject |
Separate gameobject containing the flight camera's audio listener.
| float FlightCamera.cameraAlt = 0f |
| Camera [] FlightCamera.cameras |
| float FlightCamera.cameraWobbleSensitivity = 0.1f |
| Vector3 FlightCamera.camFXPos |
|
protected |
| Quaternion FlightCamera.camFXRot |
|
protected |
| float FlightCamera.camHdg = 0f |
| float FlightCamera.camPitch = 0f |
| Modes FlightCamera.chaseBaseMode |
|
protected |
| Quaternion FlightCamera.chaseBaseRot |
|
protected |
| Vector3 FlightCamera.chaseFwd |
|
protected |
| ChaseMode FlightCamera.chaseMode = ChaseMode.Parked |
|
protected |
| ChaseMode FlightCamera.chaseModePrev = ChaseMode.Null |
|
protected |
| float FlightCamera.endPitch |
|
protected |
| float FlightCamera.FieldOfView = 60f |
| float FlightCamera.FoRlerp = 0f |
|
protected |
| float FlightCamera.fovDefault = 60f |
| float FlightCamera.fovMax = 160f |
| float FlightCamera.fovMin = 20f |
| Camera FlightCamera.mainCamera |
| float FlightCamera.maxDistance = 150000f |
| float FlightCamera.maxDistOnDestroy = 400f |
| float FlightCamera.maxPitch = 1.55f |
| float FlightCamera.minDistance = 3f |
| float FlightCamera.minDistOnDestroy = 75f |
| float FlightCamera.minHeight |
| float FlightCamera.minHeightAtMaxDist = 10000f |
| float FlightCamera.minHeightAtMinDist = 10f |
| float FlightCamera.minPitch = -0.95f |
| Modes FlightCamera.mode = Modes.AUTO |
| Vector3 FlightCamera.nextMove |
|
protected |
| float FlightCamera.offsetPitch |
|
protected |
| float FlightCamera.orbitSensitivity = 0.05f |
| float FlightCamera.orientationSharpness = 0.05f |
| Part FlightCamera.partTarget |
normally null, but will be non-null if the camera has been targeted at a part instead of vessel CoM
| float FlightCamera.pivotTranslateSharpness = 0.5f |
| float FlightCamera.sharpness = 10f |
| float FlightCamera.startDistance = 30f |
| Vector3 FlightCamera.targetDirection |
| float FlightCamera.tIRpitch |
|
protected |
| Vector3 FlightCamera.upAxis |
| bool FlightCamera.updateActive = true |
| float FlightCamera.vesselSwitchBackoffFOVFactor = 1.5f |
Factor to multiply FoV by to scale the view by when calcing initial cameera position.
To cater to spacing around vessel on the screen.
| float FlightCamera.vesselSwitchBackoffPadding = 10f |
Additional distance to add to the backoff distance when calcing the initial camera position
| Vessel FlightCamera.vesselTarget |
| float FlightCamera.zoomScaleFactor = 1.2f |
| float FlightCamera.CamHdg |
|
staticgetset |
| float FlightCamera.CamPitch |
|
staticgetset |
| float FlightCamera.Distance |
|
get |
| FoRModes FlightCamera.FrameOfReferenceMode |
|
staticget |
| Quaternion FlightCamera.pivotRotation |
|
get |
The documentation for this class was generated from the following file: