|
void | Activate () |
| Turn on the indicator. (Does not apply to IVA.) More...
|
|
void | Awake () |
|
void | Clear () |
| Sets navigation to nonsensical, impossible values. Useful when you do NOT want to match anything. More...
|
|
void | Deactivate () |
| Turn off the indicator. (Does not apply to IVA.) More...
|
|
bool | IsUsing (double latitude, double longitude, double altitude) |
| If navigation is currently set to a specific set of coordinates. More...
|
|
bool | IsUsing (Waypoint waypoint) |
| If navigation is currently set to a waypoint. More...
|
|
bool | IsVisible (bool condition=true) |
| If the indicator should even be enabled right now. More...
|
|
void | LateUpdate () |
|
void | Setup (CelestialBody body, double latitude, double longitude, double altitude, string texture, Color color) |
| Set navigation to a specific set of coordinates, using a specific texture and color. More...
|
|
void | Setup (Waypoint waypoint) |
| Set navigation to a waypoint, using the waypoint meta data to supply texture and color for the indicator. More...
|
|
|
bool | showGhosted |
| Should the navpoint show ghosted on the navball when its behind the vessel More...
|
|
|
double | Altitude [get, set] |
|
CelestialBody | Body [get, set] |
|
Color | Color [get, set] |
|
static NavWaypoint | fetch [get] |
|
double | Height [get, set] |
|
bool | IsActive [get, set] |
|
bool | IsBlinking [get, set] |
|
double | Latitude [get, set] |
|
double | Longitude [get, set] |
|
Vector3 | NavigationVector [get] |
| The direction the active vessel must go to reach the waypoint. More...
|
|
string | TextureID [get, set] |
|
GameObject | Visual [get, set] |
|
void NavWaypoint.Activate |
( |
| ) |
|
|
inline |
Turn on the indicator. (Does not apply to IVA.)
void NavWaypoint.Awake |
( |
| ) |
|
|
inline |
< Recursively search for a waypoint to copy initial mesh and shader information from.
< We want a duplicate, but separate material, to copy over the shaders and such.
< waypoints be slightly smaller than nav indicators
void NavWaypoint.Clear |
( |
| ) |
|
|
inline |
Sets navigation to nonsensical, impossible values. Useful when you do NOT want to match anything.
void NavWaypoint.Deactivate |
( |
| ) |
|
|
inline |
Turn off the indicator. (Does not apply to IVA.)
static void NavWaypoint.DeactivateIfWaypoint |
( |
Waypoint |
waypoint | ) |
|
|
inlinestatic |
Deactivates the indicator if it is using the specified waypoint.
- Parameters
-
waypoint | The specified waypoint. |
bool NavWaypoint.IsUsing |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
double |
altitude |
|
) |
| |
|
inline |
If navigation is currently set to a specific set of coordinates.
bool NavWaypoint.IsUsing |
( |
Waypoint |
waypoint | ) |
|
|
inline |
If navigation is currently set to a waypoint.
bool NavWaypoint.IsVisible |
( |
bool |
condition = true | ) |
|
|
inline |
If the indicator should even be enabled right now.
void NavWaypoint.LateUpdate |
( |
| ) |
|
|
inline |
void NavWaypoint.Setup |
( |
CelestialBody |
body, |
|
|
double |
latitude, |
|
|
double |
longitude, |
|
|
double |
altitude, |
|
|
string |
texture, |
|
|
Color |
color |
|
) |
| |
|
inline |
Set navigation to a specific set of coordinates, using a specific texture and color.
void NavWaypoint.Setup |
( |
Waypoint |
waypoint | ) |
|
|
inline |
Set navigation to a waypoint, using the waypoint meta data to supply texture and color for the indicator.
bool NavWaypoint.showGhosted |
Should the navpoint show ghosted on the navball when its behind the vessel
double NavWaypoint.Altitude |
|
getset |
double NavWaypoint.Height |
|
getset |
bool NavWaypoint.IsActive |
|
getset |
bool NavWaypoint.IsBlinking |
|
getset |
double NavWaypoint.Latitude |
|
getset |
double NavWaypoint.Longitude |
|
getset |
Vector3 NavWaypoint.NavigationVector |
|
get |
The direction the active vessel must go to reach the waypoint.
string NavWaypoint.TextureID |
|
getset |
GameObject NavWaypoint.Visual |
|
getset |
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Scenarios/Career Modules/Contracts/FinePrint/NavWaypoint.cs