KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
PlanetariumCamera Class Reference

A class related to the map view camera. More...

Inheritance diagram for PlanetariumCamera:

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]
 

Detailed Description

A class related to the map view camera.

Member Enumeration Documentation

Enumerator
FREE 
CHASE 

Constructor & Destructor Documentation

PlanetariumCamera.PlanetariumCamera ( )

Member Function Documentation

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)

Member Data Documentation

float PlanetariumCamera.cameraWobbleSensitivity
float PlanetariumCamera.camHdg
float PlanetariumCamera.camPitch
float PlanetariumCamera.endHeading
PlanetariumCamera PlanetariumCamera.fetch
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

Property Documentation

Camera PlanetariumCamera.Camera
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.

float PlanetariumCamera.Distance
get
Quaternion PlanetariumCamera.pivotRotation
get

The documentation for this class was generated from the following file: