Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo_Icon Class Reference
Inheritance diagram for Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo_Icon:
Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo

Public Member Functions

override void Initialize (GAPCelestialBody newGapRef)
 Called after the gizmo is instantiated to initialize its corresponding values. More...
 
- Public Member Functions inherited from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo
virtual bool IsActive ()
 Checks if the gizmo is enabled to be interacted with. More...
 
virtual void OnDestroy ()
 Called before destroying the gizmo. More...
 
virtual void OnLoadPlanet (CelestialBody newCelestialBody)
 Called when a new planet is loaded (To reset any values if needed) More...
 
virtual void OnUpdate ()
 Called every frame. More...
 
virtual double SetGizmoPosition (double newLatitude, double newLongitude, double newAltitude)
 Sets the GAP gizmo on the celestial body surface from the latitude and longitude values. Altitude is calculated automatically. More...
 

Properties

double Radius [set]
 
- Properties inherited from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo
double Altitude [get]
 Returns the altitude of the terrain under the gizmo position. More...
 
double Latitude [get]
 Returns the latitude of the gizmo in the celestial body. More...
 
double Longitude [get]
 Returns the longitude of the gizmo in the celestial body. More...
 

Additional Inherited Members

- Public Attributes inherited from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo
Transform gizmoContainer
 
- Protected Member Functions inherited from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo
void SetInSurfaceFromPoint (Vector3d point)
 Sets a transform on the surface of the celestial body More...
 
void SetInSurfaceFromPointAtSeaLevel (Vector3d point, double seaLevel)
 Sets a transform on the surface of the celestial body More...
 
- Protected Attributes inherited from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo
double altitude
 
CelestialBody celestialBody
 
GAPCelestialBody gapRef
 
double latitude
 
double longitude
 

Member Function Documentation

override void Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo_Icon.Initialize ( GAPCelestialBody  newGapRef)
inlinevirtual

Called after the gizmo is instantiated to initialize its corresponding values.

Parameters
newGapRefThe reference to the GAPCelestiaBody script, it handles the camera movement etc...

Reimplemented from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo.

Property Documentation

double Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo_Icon.Radius
set

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