|
void | Destroy () |
|
void | Disable () |
| Disables mouse input and camera movement. More...
|
|
void | Enable (CelestialBody newCelestialBody, bool usePQS) |
|
Camera | GetLocalSpaceCamera () |
| Returns the camera that is currently watching the localspace. More...
|
|
void | OverrideDistance (double percentage) |
| Sets the zoom distance of the camera. More...
|
|
void | OverridePosition (double latitude, double longitude) |
| Overrides the camera postion to the defined Latitude and Longitude More...
|
|
void | RefreshTarget () |
| Refreshes the Focus position of the camera to the position of the defined FocusTarget More...
|
|
void | SetBoundries (double minMultiplier, double maxMultiplier) |
| Set the zoom multiplier value, to determine how many times the radius of the celestial body we can zoom-out and zoom-in into the planet. More...
|
|
void | SetLightCycle (double UT) |
|
void | SetPosition (double latitude, double longitude) |
| Sets the new postiion in Latitude and Longitude that camera the camera will lerp to. More...
|
|
void | UpdateMouse (float xAxis, float yAxis) |
| Updates the mouse drag movement that will get translated properly in the UpdateTransformMethod. More...
|
|
void | UpdateTransform (double surfaceHeight) |
| Updates the pqsTarget position smoothing it according to the distance and the angle. More...
|
|
|
double | DistanceToSurface [get] |
|
Transform | FocusTarget [get, set] |
| Sets the Transform the camera will take the focusPosition from. More...
|
|
bool | LockDragging [get, set] |
| Disables/Enables the dragging behavior of the camera in the GAP More...
|
|
double | ZoomValue [get] |
| Returns the real percentage value of the zoom slider (after processing it with the zoom curve). More...
|
|
void GAPCelestialBodyCamera.Destroy |
( |
| ) |
|
|
inline |
void GAPCelestialBodyCamera.Disable |
( |
| ) |
|
|
inline |
Disables mouse input and camera movement.
void GAPCelestialBodyCamera.Enable |
( |
CelestialBody |
newCelestialBody, |
|
|
bool |
usePQS |
|
) |
| |
|
inline |
Camera GAPCelestialBodyCamera.GetLocalSpaceCamera |
( |
| ) |
|
|
inline |
Returns the camera that is currently watching the localspace.
Other methods ////////////////////////////////////////////////
void GAPCelestialBodyCamera.OverrideDistance |
( |
double |
percentage | ) |
|
|
inline |
Sets the zoom distance of the camera.
- Parameters
-
void GAPCelestialBodyCamera.OverridePosition |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
|
inline |
Overrides the camera postion to the defined Latitude and Longitude
void GAPCelestialBodyCamera.RefreshTarget |
( |
| ) |
|
|
inline |
Refreshes the Focus position of the camera to the position of the defined FocusTarget
void GAPCelestialBodyCamera.SetBoundries |
( |
double |
minMultiplier, |
|
|
double |
maxMultiplier |
|
) |
| |
|
inline |
Set the zoom multiplier value, to determine how many times the radius of the celestial body we can zoom-out and zoom-in into the planet.
- Parameters
-
minMultiplier | |
maxMultiplier | |
void GAPCelestialBodyCamera.SetLightCycle |
( |
double |
UT | ) |
|
|
inline |
void GAPCelestialBodyCamera.SetPosition |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
|
inline |
Sets the new postiion in Latitude and Longitude that camera the camera will lerp to.
void GAPCelestialBodyCamera.UpdateMouse |
( |
float |
xAxis, |
|
|
float |
yAxis |
|
) |
| |
|
inline |
Updates the mouse drag movement that will get translated properly in the UpdateTransformMethod.
Update methods ////////////////////////////////////////////////
void GAPCelestialBodyCamera.UpdateTransform |
( |
double |
surfaceHeight | ) |
|
|
inline |
Updates the pqsTarget position smoothing it according to the distance and the angle.
- Parameters
-
Camera GAPCelestialBodyCamera.cam |
This class takes care of the orbital camera movement around a PQS celestial body. It will aslo control the lightning of the scaled and localspace, and hold some of the key gameobjects used by this GAP.
Camera GAPCelestialBodyCamera.camMapFX |
AnimationCurve GAPCelestialBodyCamera.curveDragLocal |
AnimationCurve GAPCelestialBodyCamera.curveDragScaled |
AnimationCurve GAPCelestialBodyCamera.curveZoomLocal |
AnimationCurve GAPCelestialBodyCamera.curveZoomScaled |
Material GAPCelestialBodyCamera.GAPCelestialBodyMaterial |
Transform GAPCelestialBodyCamera.pqsTarget |
double GAPCelestialBodyCamera.DistanceToSurface |
|
get |
Transform GAPCelestialBodyCamera.FocusTarget |
|
getset |
Sets the Transform the camera will take the focusPosition from.
bool GAPCelestialBodyCamera.LockDragging |
|
getset |
Disables/Enables the dragging behavior of the camera in the GAP
double GAPCelestialBodyCamera.ZoomValue |
|
get |
Returns the real percentage value of the zoom slider (after processing it with the zoom curve).
The documentation for this class was generated from the following file: