A class related to the map view camera. More...
Public Types | |
enum | Modes { Modes.FREE = 0, Modes.CHASE = 1 } |
Public Member Functions | |
PlanetariumCamera () | |
void | AddTarget (Transform tgt) |
Transform | findNearestTarget () |
void | RemoveTarget (Transform tgt) |
void | SetDistance (float dist) |
void | setTarget (int tgtIdx) |
void | setTarget (Transform tgt) |
Public Attributes | |
float | cameraWobbleSensitivity |
float | camHdg |
float | camPitch |
float | endHeading |
float | maxDistance |
float | maxPitch |
float | minDistance |
float | minHeight |
float | minHeightAtMaxDist |
float | minHeightAtMinDist |
float | minPitch |
PlanetariumCamera.Modes | mode |
float | orbitSensitivity |
float | pivotTranslateSharpness |
float | sharpness |
float | startDistance |
GUIStyle | style |
bool | TabSwitchTargets |
Transform | target |
float | targetHeading |
List< Transform > | targets |
float | zoomScaleFactor |
Static Public Attributes | |
static PlanetariumCamera | fetch |
Use this instance to access non-static members of this class. More... | |
Properties | |
static Camera | Camera [get] |
This is the Camera that looks at the planetarium scene. See the Unity documentation on Camera to see what you can do with this object. More... | |
float | Distance [get] |
Quaternion | pivotRotation [get] |
A class related to the map view camera.
PlanetariumCamera.PlanetariumCamera | ( | ) |
void PlanetariumCamera.AddTarget | ( | Transform | tgt | ) |
Transform PlanetariumCamera.findNearestTarget | ( | ) |
void PlanetariumCamera.RemoveTarget | ( | Transform | tgt | ) |
void PlanetariumCamera.SetDistance | ( | float | dist | ) |
void PlanetariumCamera.setTarget | ( | int | tgtIdx | ) |
void PlanetariumCamera.setTarget | ( | Transform | tgt | ) |
float PlanetariumCamera.cameraWobbleSensitivity |
float PlanetariumCamera.camHdg |
float PlanetariumCamera.camPitch |
float PlanetariumCamera.endHeading |
|
static |
Use this instance to access non-static members of this class.
float PlanetariumCamera.maxDistance |
float PlanetariumCamera.maxPitch |
float PlanetariumCamera.minDistance |
float PlanetariumCamera.minHeight |
float PlanetariumCamera.minHeightAtMaxDist |
float PlanetariumCamera.minHeightAtMinDist |
float PlanetariumCamera.minPitch |
PlanetariumCamera.Modes PlanetariumCamera.mode |
float PlanetariumCamera.orbitSensitivity |
float PlanetariumCamera.pivotTranslateSharpness |
float PlanetariumCamera.sharpness |
float PlanetariumCamera.startDistance |
GUIStyle PlanetariumCamera.style |
bool PlanetariumCamera.TabSwitchTargets |
Transform PlanetariumCamera.target |
float PlanetariumCamera.targetHeading |
List<Transform> PlanetariumCamera.targets |
float PlanetariumCamera.zoomScaleFactor |
|
staticget |
This is the Camera that looks at the planetarium scene. See the Unity documentation on Camera to see what you can do with this object.
|
get |
|
get |