Kerbal Space Program
1.12.4
|
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 |
|
inlinevirtual |
Called after the gizmo is instantiated to initialize its corresponding values.
newGapRef | The reference to the GAPCelestiaBody script, it handles the camera movement etc... |
Reimplemented from Expansions.Missions.Editor.GAPCelestialBody_SurfaceGizmo.
|
set |