Difference between revisions of "User:Glyph"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 1: Line 1:
 
 
 
 
 
 
 
 
 
 
DocParser.parse started
 
Processing class attributes.
 
  Class attribute, line = [DefaultMember("Item")]
 
Processing elements.
 
  Unrecognised entry, line = "public Vessel();"
 
  Unprocessed entry type, line = "public Part this[int index] { get; }"
 
  Unprocessed entry type, line = "public Part this[uint flightID] { get; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public static float loadDistance { get; set; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public static float unloadDistance { get; set; }"
 
  Processing property: "public ActionGroupList ActionGroups { get; }"
 
  Processing property: "public VesselAutopilot Autopilot { get; }"
 
  Processing property: "public Vector3 CurrentCoM { get; }"
 
  Processing property: "public DiscoveryInfo DiscoveryInfo { get; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public float distanceLandedPackThreshold { get; set; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public float distanceLandedUnpackThreshold { get; set; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public float distancePackThreshold { get; set; }"
 
  Processing attributes
 
    Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 
  Processing property: "public float distanceUnpackThreshold { get; set; }"
 
  Processing property: "public bool HoldPhysics { get; }"
 
  Processing property: "public bool isActiveVessel { get; }"
 
  Processing property: "public bool isCommandable { get; }"
 
  Processing property: "public bool IsControllable { get; }"
 
  Processing property: "public bool isEVA { get; }"
 
  Processing property: "public bool isPersistent { get; set; }"
 
  Processing property: "public bool IsRecoverable { get; }"
 
  Processing property: "public bool LandedOrSplashed { get; }"
 
  Processing property: "public CelestialBody mainBody { get; }"
 
  Processing property: "public Orbit orbit { get; }"
 
  Processing property: "public List<Part> Parts { get; }"
 
  Processing property: "public bool PatchedConicsAttached { get; }"
 
  Processing property: "public Transform ReferenceTransform { get; }"
 
  Processing property: "public VesselValues VesselValues { get; }"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Load")]"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Print All Collisions")]"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Print Ground Contacts")]"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Rename Vessel")]"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Reset Collision Ignores")]"
 
  Processing attributes
 
    Processing attribute "[ContextMenu("Unload")]"
 
  Processing enum "public enum Situations"
 
  Processing enum "public enum State"
 
  Processing inner class: "public class ActiveResource"
 
 
 
<!-- Class tables autogenerated by Glyph's kerbal_wiki_pdoc program for KSP 1.04. Using syntax set up for the wiki by N3X15, format from DOCTOOLS (I'm not clear if DOCTOOLS is the script used to generate N3X15's old version of these tables, or some mediawiki thing). -->
 
<!-- Class tables autogenerated by Glyph's kerbal_wiki_pdoc program for KSP 1.04. Using syntax set up for the wiki by N3X15, format from DOCTOOLS (I'm not clear if DOCTOOLS is the script used to generate N3X15's old version of these tables, or some mediawiki thing). -->
 
{{Class
 
{{Class
Line 654: Line 585:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=AttachPatchedConicsSolver);
+
   |name=AttachPatchedConicsSolver
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 661: Line 592:
 
   |returntype=ProtoVessel
 
   |returntype=ProtoVessel
 
   |returndesc=
 
   |returndesc=
   |name=BackupVessel);
+
   |name=BackupVessel
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 668: Line 599:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=CalculatePhysicsStats);
+
   |name=CalculatePhysicsStats
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 682: Line 613:
 
   |returntype=bool
 
   |returntype=bool
 
   |returndesc=
 
   |returndesc=
   |name=checkLanded);
+
   |name=checkLanded
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 689: Line 620:
 
   |returntype=bool
 
   |returntype=bool
 
   |returndesc=
 
   |returndesc=
   |name=checkSplashed);
+
   |name=checkSplashed
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 696: Line 627:
 
   |returntype=bool
 
   |returntype=bool
 
   |returndesc=
 
   |returndesc=
   |name=checkVisibility);
+
   |name=checkVisibility
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 703: Line 634:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=ClearStaging);
+
   |name=ClearStaging
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 717: Line 648:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=DespawnCrew);
+
   |name=DespawnCrew
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 724: Line 655:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=DestroyVesselComponents);
+
   |name=DestroyVesselComponents
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 731: Line 662:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=DetachPatchedConicsSolver);
+
   |name=DetachPatchedConicsSolver
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 738: Line 669:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=Die);
+
   |name=Die
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 745: Line 676:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=FallBackReferenceTransform);
+
   |name=FallBackReferenceTransform
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 752: Line 683:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=FeedInputFeed);
+
   |name=FeedInputFeed
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 759: Line 690:
 
   |returntype=VesselType
 
   |returntype=VesselType
 
   |returndesc=
 
   |returndesc=
   |name=FindDefaultVesselType);
+
   |name=FindDefaultVesselType
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 766: Line 697:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=findLocalCenterOfMass);
+
   |name=findLocalCenterOfMass
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 773: Line 704:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=findLocalCenterOfPressure);
+
   |name=findLocalCenterOfPressure
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 781: Line 712:
 
   |returndesc=
 
   |returndesc=
 
   |name=findLocalMOI
 
   |name=findLocalMOI
   |args=Vector3 worldCoM
+
   |args=
 
   |desc=
 
   |desc=
 
}}
 
}}
Line 787: Line 718:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=findLocalMOI);
+
   |name=findLocalMOI
   |args=
+
   |args=Vector3 worldCoM
 
   |desc=
 
   |desc=
 
}}
 
}}
Line 794: Line 725:
 
   |returntype=List<T>
 
   |returntype=List<T>
 
   |returndesc=
 
   |returndesc=
   |name=FindPartModulesImplementing<T>);
+
   |name=FindPartModulesImplementing<T>
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 801: Line 732:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=findWorldCenterOfMass);
+
   |name=findWorldCenterOfMass
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 808: Line 739:
 
   |returntype=List<Part>
 
   |returntype=List<Part>
 
   |returndesc=
 
   |returndesc=
   |name=GetActiveParts);
+
   |name=GetActiveParts
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 822: Line 753:
 
   |returntype=List<ActiveResource>
 
   |returntype=List<ActiveResource>
 
   |returndesc=
 
   |returndesc=
   |name=GetActiveResources);
+
   |name=GetActiveResources
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 829: Line 760:
 
   |returntype=int
 
   |returntype=int
 
   |returndesc=
 
   |returndesc=
   |name=GetCrewCapacity);
+
   |name=GetCrewCapacity
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 836: Line 767:
 
   |returntype=int
 
   |returntype=int
 
   |returndesc=
 
   |returndesc=
   |name=GetCrewCount);
+
   |name=GetCrewCount
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 843: Line 774:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=GetFwdVector);
+
   |name=GetFwdVector
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 850: Line 781:
 
   |returntype=float
 
   |returntype=float
 
   |returndesc=
 
   |returndesc=
   |name=GetHeightFromSurface);
+
   |name=GetHeightFromSurface
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 857: Line 788:
 
   |returntype=float
 
   |returntype=float
 
   |returndesc=
 
   |returndesc=
   |name=GetHeightFromTerrain);
+
   |name=GetHeightFromTerrain
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 864: Line 795:
 
   |returntype=string
 
   |returntype=string
 
   |returndesc=
 
   |returndesc=
   |name=GetName);
+
   |name=GetName
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 871: Line 802:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=GetObtVelocity);
+
   |name=GetObtVelocity
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 878: Line 809:
 
   |returntype=Orbit
 
   |returntype=Orbit
 
   |returndesc=
 
   |returndesc=
   |name=GetOrbit);
+
   |name=GetOrbit
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 885: Line 816:
 
   |returntype=OrbitDriver
 
   |returntype=OrbitDriver
 
   |returndesc=
 
   |returndesc=
   |name=GetOrbitDriver);
+
   |name=GetOrbitDriver
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 892: Line 823:
 
   |returntype=Part
 
   |returntype=Part
 
   |returndesc=
 
   |returndesc=
   |name=GetReferenceTransformPart);
+
   |name=GetReferenceTransformPart
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 899: Line 830:
 
   |returntype=Vector3
 
   |returntype=Vector3
 
   |returndesc=
 
   |returndesc=
   |name=GetSrfVelocity);
+
   |name=GetSrfVelocity
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 906: Line 837:
 
   |returntype=VesselTargetModes
 
   |returntype=VesselTargetModes
 
   |returndesc=
 
   |returndesc=
   |name=GetTargetingMode);
+
   |name=GetTargetingMode
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 913: Line 844:
 
   |returntype=float
 
   |returntype=float
 
   |returndesc=
 
   |returndesc=
   |name=GetTotalMass);
+
   |name=GetTotalMass
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 920: Line 851:
 
   |returntype=Transform
 
   |returntype=Transform
 
   |returndesc=
 
   |returndesc=
   |name=GetTransform);
+
   |name=GetTransform
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 927: Line 858:
 
   |returntype=Vessel
 
   |returntype=Vessel
 
   |returndesc=
 
   |returndesc=
   |name=GetVessel);
+
   |name=GetVessel
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 934: Line 865:
 
   |returntype=List<ProtoCrewMember>
 
   |returntype=List<ProtoCrewMember>
 
   |returndesc=
 
   |returndesc=
   |name=GetVesselCrew);
+
   |name=GetVesselCrew
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 941: Line 872:
 
   |returntype=Vector3d
 
   |returntype=Vector3d
 
   |returndesc=
 
   |returndesc=
   |name=GetWorldPos3D);
+
   |name=GetWorldPos3D
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 948: Line 879:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=GoOffRails);
+
   |name=GoOffRails
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 955: Line 886:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=GoOnRails);
+
   |name=GoOnRails
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 962: Line 893:
 
   |returntype=bool
 
   |returntype=bool
 
   |returndesc=
 
   |returndesc=
   |name=HasControlSources);
+
   |name=HasControlSources
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 976: Line 907:
 
   |returntype=ClearToSaveStatus
 
   |returntype=ClearToSaveStatus
 
   |returndesc=
 
   |returndesc=
   |name=IsClearToSave);
+
   |name=IsClearToSave
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 983: Line 914:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=Load);
+
   |name=Load
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Load")]
 
   |desc=Has attribute [ContextMenu("Load")]
Line 990: Line 921:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=MakeActive);
+
   |name=MakeActive
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 997: Line 928:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=MakeInactive);
+
   |name=MakeInactive
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,004: Line 935:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=MurderCrew);
+
   |name=MurderCrew
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,011: Line 942:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=OnDestroy);
+
   |name=OnDestroy
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,018: Line 949:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=OnLoadFlightState<string,
+
   |name=OnLoadFlightState
 
   |args=Dictionary<string, KSPParseable> dataPool
 
   |args=Dictionary<string, KSPParseable> dataPool
 
   |desc=
 
   |desc=
Line 1,025: Line 956:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=OnSaveFlightState<string,
+
   |name=OnSaveFlightState
 
   |args=Dictionary<string, KSPParseable> dataPool
 
   |args=Dictionary<string, KSPParseable> dataPool
 
   |desc=
 
   |desc=
Line 1,032: Line 963:
 
   |returntype=double
 
   |returntype=double
 
   |returndesc=
 
   |returndesc=
   |name=PQSAltitude);
+
   |name=PQSAltitude
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,039: Line 970:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=printCollisions);
+
   |name=printCollisions
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Print All Collisions")]
 
   |desc=Has attribute [ContextMenu("Print All Collisions")]
Line 1,046: Line 977:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=printGroundContacts);
+
   |name=printGroundContacts
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Print Ground Contacts")]
 
   |desc=Has attribute [ContextMenu("Print Ground Contacts")]
Line 1,053: Line 984:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=RenameVessel);
+
   |name=RenameVessel
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Rename Vessel")]
 
   |desc=Has attribute [ContextMenu("Rename Vessel")]
Line 1,060: Line 991:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=ResetCollisionIgnores);
+
   |name=ResetCollisionIgnores
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Reset Collision Ignores")]
 
   |desc=Has attribute [ContextMenu("Reset Collision Ignores")]
Line 1,067: Line 998:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=ResumeStaging);
+
   |name=ResumeStaging
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,074: Line 1,005:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=ResumeTarget);
+
   |name=ResumeTarget
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,081: Line 1,012:
 
   |returntype=double
 
   |returntype=double
 
   |returndesc=
 
   |returndesc=
   |name=RevealAltitude);
+
   |name=RevealAltitude
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,088: Line 1,019:
 
   |returntype=float
 
   |returntype=float
 
   |returndesc=
 
   |returndesc=
   |name=RevealMass);
+
   |name=RevealMass
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,095: Line 1,026:
 
   |returntype=string
 
   |returntype=string
 
   |returndesc=
 
   |returndesc=
   |name=RevealName);
+
   |name=RevealName
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,102: Line 1,033:
 
   |returntype=string
 
   |returntype=string
 
   |returndesc=
 
   |returndesc=
   |name=RevealSituationString);
+
   |name=RevealSituationString
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,109: Line 1,040:
 
   |returntype=double
 
   |returntype=double
 
   |returndesc=
 
   |returndesc=
   |name=RevealSpeed);
+
   |name=RevealSpeed
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,116: Line 1,047:
 
   |returntype=string
 
   |returntype=string
 
   |returndesc=
 
   |returndesc=
   |name=RevealType);
+
   |name=RevealType
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,124: Line 1,055:
 
   |returndesc=
 
   |returndesc=
 
   |name=SetActiveInternalPart
 
   |name=SetActiveInternalPart
   |args=Part visiblePart
+
   |args=
 
   |desc=
 
   |desc=
 
}}
 
}}
Line 1,130: Line 1,061:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=SetActiveInternalPart);
+
   |name=SetActiveInternalPart
   |args=
+
   |args=List<Part> visibleParts
 
   |desc=
 
   |desc=
 
}}
 
}}
Line 1,137: Line 1,068:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=SetActiveInternalPart<Part>
+
   |name=SetActiveInternalPart
   |args=List<Part> visibleParts
+
   |args=Part visiblePart
 
   |desc=
 
   |desc=
 
}}
 
}}
Line 1,179: Line 1,110:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=SpawnCrew);
+
   |name=SpawnCrew
 
   |args=
 
   |args=
 
   |desc=
 
   |desc=
Line 1,200: Line 1,131:
 
   |returntype=void
 
   |returntype=void
 
   |returndesc=
 
   |returndesc=
   |name=Unload);
+
   |name=Unload
 
   |args=
 
   |args=
 
   |desc=Has attribute [ContextMenu("Unload")]
 
   |desc=Has attribute [ContextMenu("Unload")]

Revision as of 01:45, 12 October 2015

Vessel Class

Inherits Implements
MonoBehaviour
  • IShipconstruct
  • ITargetable
  • IDiscoverable

Class attributes: [DefaultMember("Item")]

Properties

The following are public properties available in Glyph.

Signature Description
ActionGroupList ActionGroups { get; }
VesselAutopilot Autopilot { get; }
Vector3 CurrentCoM { get; }
DiscoveryInfo DiscoveryInfo { get; }
float distanceLandedPackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distanceLandedUnpackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distancePackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distanceUnpackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
bool HoldPhysics { get; }
bool isActiveVessel { get; }
bool isCommandable { get; }
bool IsControllable { get; }
bool isEVA { get; }
bool isPersistent { get; set; }
bool IsRecoverable { get; }
bool LandedOrSplashed { get; }
CelestialBody mainBody { get; }
Orbit orbit { get; }
List<Part> Parts { get; }
bool PatchedConicsAttached { get; }
Transform ReferenceTransform { get; }
VesselValues VesselValues { get; }
static float loadDistance { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
static float unloadDistance { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]

Fields

The following is a list of publically-accessible fields in Glyph. This includes protected items, which can be accessed by subclasses.

Signature Description
Vector3d acceleration;
double altitude;
Vector3 angularMomentum;
Vector3 angularVelocity;
double atmDensity;
double atmosphericTemperature;
Vector3d CentrifugalAcc;
Vector3 CoM;
double convectiveCoefficient;
double convectiveMachFlux;
Vector3d CoriolisAcc;
FlightCtrlState ctrlState;
int currentStage;
bool directSunlight;
double distanceToSun;
double dynamicPressurekPa;
KerbalEVA evaController;
double externalTemperature;
ConfigNode flightPlanNode;
double geeForce;
double geeForce_immediate;
Vector3d gForce;
bool handlePhysicsStats;
float heightFromSurface;
float heightFromTerrain;
double horizontalSrfSpeed;
Guid id;
double indicatedAirSpeed;
bool Landed;
string landedAt;
double latitude;
double launchTime;
bool loaded;
Vector3 localCoM;
double longitude;
double mach;
double missionTime;
Vector3 MOI;
double obt_speed;
Vector3d obt_velocity;
FlightInputCallback OnAutopilotUpdate;
FlightInputCallback OnFlyByWire;
Callback OnJustAboutToBeDestroyed;
FlightInputCallback OnPostAutopilotUpdate;
FlightInputCallback OnPreAutopilotUpdate;
OrbitDriver orbitDriver;
OrbitRenderer orbitRenderer;
OrbitTargeter orbitTargeter;
bool packed;
List<Part> parts;
PatchedConicRenderer patchedConicRenderer;
PatchedConicSolver patchedConicSolver;
Vector3d perturbation;
double pqsAltitude;
ProtoVessel protoVessel;
Vector3 rb_velocity;
uint referenceTransformId;
Part rootPart;
Situations situation;
enum Situations { LANDED, SPLASHED, PRELAUNCH, FLYING, SUB_ORBITAL, ORBITING, ESCAPING, DOCKED }
double solarFlux;
double specificAcceleration;
double speed;
double speedOfSound;
bool Splashed;
Vector3d srf_velocity;
Quaternion srfRelRotation;
double srfSpeed;
enum State { INACTIVE, ACTIVE, DEAD }
State state;
double staticPressurekPa;
ITargetable targetObject;
double terrainAltitude;
Vector3 terrainNormal;
Vector3d upAxis;
double verticalSpeed;
string vesselName;
VesselRanges vesselRanges;
Transform vesselTransform;
VesselType vesselType;

Methods

The following are methods included in Glyph.

Signature Description
void AttachPatchedConicsSolver()
ProtoVessel BackupVessel()
void CalculatePhysicsStats()
void ChangeWorldVelocity(Vector3d velOffset)
bool checkLanded()
bool checkSplashed()
bool checkVisibility()
void ClearStaging()
bool ContainsCollider(Collider c)
void DespawnCrew()
void DestroyVesselComponents()
void DetachPatchedConicsSolver()
void Die()
void FallBackReferenceTransform()
void FeedInputFeed()
VesselType FindDefaultVesselType()
Vector3 findLocalCenterOfMass()
Vector3 findLocalCenterOfPressure()
Vector3 findLocalMOI()
Vector3 findLocalMOI(Vector3 worldCoM)
List<T> FindPartModulesImplementing<T>()
Vector3 findWorldCenterOfMass()
List<Part> GetActiveParts()
ActiveResource GetActiveResource(PartResourceDefinition def)
List<ActiveResource> GetActiveResources()
int GetCrewCapacity()
int GetCrewCount()
Vector3 GetFwdVector()
float GetHeightFromSurface()
float GetHeightFromTerrain()
string GetName()
Vector3 GetObtVelocity()
Orbit GetOrbit()
OrbitDriver GetOrbitDriver()
Part GetReferenceTransformPart()
Vector3 GetSrfVelocity()
VesselTargetModes GetTargetingMode()
float GetTotalMass()
Transform GetTransform()
Vessel GetVessel()
List<ProtoCrewMember> GetVesselCrew()
Vector3d GetWorldPos3D()
void GoOffRails()
void GoOnRails()
bool HasControlSources()
bool Initialize(bool fromShipAssembly = false)
ClearToSaveStatus IsClearToSave()
void Load() Has attribute [ContextMenu("Load")]
void MakeActive()
void MakeInactive()
void MurderCrew()
void OnDestroy()
void OnLoadFlightState(Dictionary<string, KSPParseable> dataPool)
void OnSaveFlightState(Dictionary<string, KSPParseable> dataPool)
double PQSAltitude()
void printCollisions() Has attribute [ContextMenu("Print All Collisions")]
void printGroundContacts() Has attribute [ContextMenu("Print Ground Contacts")]
void RenameVessel() Has attribute [ContextMenu("Rename Vessel")]
void ResetCollisionIgnores() Has attribute [ContextMenu("Reset Collision Ignores")]
void ResumeStaging()
void ResumeTarget()
double RevealAltitude()
float RevealMass()
string RevealName()
string RevealSituationString()
double RevealSpeed()
string RevealType()
void SetActiveInternalPart()
void SetActiveInternalPart(List<Part> visibleParts)
void SetActiveInternalPart(Part visiblePart)
void SetPosition(Vector3 position)
void SetPosition(Vector3 position, bool usePristineCoords)
void SetReferenceTransform(Part p)
void SetRotation(Quaternion rotation)
void SetWorldVelocity(Vector3d vel)
void SpawnCrew()
void StartFromBackup(ProtoVessel pv)
void Translate(Vector3 offset)
void Unload() Has attribute [ContextMenu("Unload")]
static string AutoRename(Vessel v, string baseName)
static string GetLandedAtString(string landedAt)
static string GetMETString(Vessel v)
static string GetSituationString(Vessel v)
static bool IsValidVesselName(string name)