|
override void | GetTerrainContourColors (Vessel vessel, out Color lowColor, out Color highColor) |
| Return the color used when contouring the lowest terrain. More...
|
|
override string | LocalCoordinateInfo (Vessel vessel, double centerLatitude, double centerLongitude, double waypointLatitude, double waypointLongitude, bool waypointInSpace) |
| The string displayed for the info text. More...
|
|
override void | OnInit () |
| Called to initialize the class. Should be used to set buttonSprite (20x20 Sprite). More...
|
|
virtual bool | AutoGenerateMode () |
| Whether the mode should be caught in the assembly pass, or if we're doing something else with it. More...
|
|
virtual void | CustomPass (Texture2D tex) |
| Custom pass - runs last and allows any change to the texture. No need to call Apply on the texture. More...
|
|
virtual Color | GetBackgroundColor (int x, int y) |
| Return the background color at a specific point on the texture. More...
|
|
virtual Color | GetCoordinateColor (Vessel vessel, double latitude, double longitude) |
| Return the color displayed for the coordinate pass. More...
|
|
virtual string | GetErrorState () |
| Gets whether or not there is an error with this mode, and a description of said error. More...
|
|
virtual string | GetModeCaption () |
| Gets a caption for the mode button, space for two characters only. More...
|
|
virtual Color | GetModeColorTint () |
| Gets the color you want to tint the mode button. More...
|
|
ColorBlock | GetModeColorTintBlock () |
| Necessary to colorize the button and have it highlight properly. More...
|
|
void | Init () |
| Initializes stuff the base class needs, then initializes stuff any derived classes need. More...
|
|
virtual void | InterpolateContourTexture (Texture2D tex) |
| Interpolate after the terrain contours if they are enabled. Does not happen if they are disabled. More...
|
|
virtual void | InterpolateMainTexture (Texture2D tex) |
| Interpolate after the main texture is generated, whether or not the coordinate pass is enabled. More...
|
|
virtual bool | isModeActive (Vessel vessel) |
| Called on KerbNet window opening to check if this mode should be added to the currently available modes. More...
|
|
virtual void | OnActivated () |
| Called when a mode is brought up within KerbNet, either by opening the dialog or switching modes. More...
|
|
virtual void | OnDeactivated () |
| Called when the mode is switched away from a mode, or KerbNet is closed. More...
|
|
virtual void | OnPrecache (Vessel vessel) |
| Runs before any passes, lets us precache things that do not need to be calculated every single pixel. More...
|
|
void | Precache (Vessel vessel) |
| Precaches stuff the base class needs, then precaches stuff any derived classes need. More...
|
|