Kerbal Space Program
1.12.4
|
Contains the parameters for an area above the surface of the planet, it can have 2 different shapes. More...
Public Types | |
enum | VolumeShape { VolumeShape.Cone, VolumeShape.Sphere } |
Public Member Functions | |
void | AjustToBody (float radius, float heightSphere, float heigthConeMin, float heightConeMax, CelestialBody newBody, CelestialBody pastBody) |
override bool | Equals (object obj) |
string | GetExtraText () |
Get extra text to be appended at the end of the node label caption. More... | |
override int | GetHashCode () |
string | GetNodeBodyParameterString () |
Returns the string to be displayed when the parameter is displayed in the node body More... | |
Waypoint | GetWaypoint () |
Get the waypoint marker to show the location of the current test module. More... | |
Vector3 | GetWorldPosition () |
Get location where the marker for the node should be displayed in world. More... | |
bool | HasNodeLabel () |
Should we create a node label for this object or not? More... | |
bool | HasWaypoint () |
Should we create a waypoint for this object or not? More... | |
bool | HasWorldPosition () |
Does the label represent an actual world position? For example, biomes won't have a world position, but a point in space will. More... | |
bool | IsInsideVolume (float targetLatitude, float targetLongitude, float targetAltitude) |
Returns true if the target passed in is located inside the volume of the shape. More... | |
void | Load (ConfigNode node) |
Loads the surface volume values from a node. More... | |
void | ResetBodyToDefaultValues () |
void | Save (ConfigNode node) |
Saves the current values from the surface volume to a node. More... | |
List< MEGUIDropDownItem > | SetCelestialBodies () |
SurfaceVolume (CelestialBody targetBody, double longitude, double latitude, float radius, VolumeShape shape, float heightSphere, float heightConeMin, float heightConeMax) | |
Creates the logic class to test a volume above the surface. More... | |
SurfaceVolume () | |
Public Attributes | |
double | altitude |
altitude of the volume center point More... | |
CelestialBody | body |
The Target CelestialBody for the vessel. Would be the one it is landed on, or in Orbit of. More... | |
float | heightConeMax |
The height of the top part of the cone. More... | |
float | heightConeMin |
The height of the bottom part of the cone. More... | |
float | heightSphere |
The height of the sphere volume from the surface of the planet upwards More... | |
double | latitude |
latitude of the volume center point More... | |
double | longitude |
longitude of volume center point More... | |
float | radius |
The radius of the inner cicle of the surface area More... | |
VolumeShape | shape |
The shape that will be displayed in the gizmo, for now it can only be a Cone or a Sphere More... | |
bool | showNodeLabel = false |
Contains the parameters for an area above the surface of the planet, it can have 2 different shapes.
|
inline |
Creates the logic class to test a volume above the surface.
|
inline |
|
inline |
|
inline |
|
inline |
Get extra text to be appended at the end of the node label caption.
|
inline |
|
inline |
Returns the string to be displayed when the parameter is displayed in the node body
|
inline |
Get the waypoint marker to show the location of the current test module.
|
inline |
Get location where the marker for the node should be displayed in world.
|
inline |
Should we create a node label for this object or not?
|
inline |
Should we create a waypoint for this object or not?
|
inline |
Does the label represent an actual world position? For example, biomes won't have a world position, but a point in space will.
|
inline |
Returns true if the target passed in is located inside the volume of the shape.
latitude | The latitude of the target on the Celestial Body. |
longitude | The longitude of the target on the Celestial Body. |
altitude | The altitude of the target from the surface of the Celestial Body. |
|
inline |
|
inline |
|
inline |
Saves the current values from the surface volume to a node.
Implements IConfigNode.
|
inline |
double Expansions.Missions.SurfaceVolume.altitude |
altitude of the volume center point
CelestialBody Expansions.Missions.SurfaceVolume.body |
The Target CelestialBody for the vessel. Would be the one it is landed on, or in Orbit of.
float Expansions.Missions.SurfaceVolume.heightConeMax |
The height of the top part of the cone.
float Expansions.Missions.SurfaceVolume.heightConeMin |
The height of the bottom part of the cone.
float Expansions.Missions.SurfaceVolume.heightSphere |
The height of the sphere volume from the surface of the planet upwards
double Expansions.Missions.SurfaceVolume.latitude |
latitude of the volume center point
double Expansions.Missions.SurfaceVolume.longitude |
longitude of volume center point
float Expansions.Missions.SurfaceVolume.radius |
The radius of the inner cicle of the surface area
VolumeShape Expansions.Missions.SurfaceVolume.shape |
The shape that will be displayed in the gizmo, for now it can only be a Cone or a Sphere
bool Expansions.Missions.SurfaceVolume.showNodeLabel = false |