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
 +
  |inherits={{Type|MonoBehaviour}}
 +
  |implements=<ul><li>{{Type|IShipconstruct}}</li><li>{{Type|ITargetable}}</li><li>{{Type|IDiscoverable}}</li></ul>
 +
  |name=Vessel
 +
  |summary=Class attributes: [DefaultMember("Item")]
 +
}}
 +
 +
{{PropertiesStart}}
 +
{{Property
 +
  |type=ActionGroupList
 +
  |name=ActionGroups
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=VesselAutopilot
 +
  |name=Autopilot
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=Vector3
 +
  |name=CurrentCoM
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=DiscoveryInfo
 +
  |name=DiscoveryInfo
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=float
 +
  |name=distanceLandedPackThreshold
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=float
 +
  |name=distanceLandedUnpackThreshold
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=float
 +
  |name=distancePackThreshold
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=float
 +
  |name=distanceUnpackThreshold
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=HoldPhysics
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=isActiveVessel
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=isCommandable
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=IsControllable
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=isEVA
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=isPersistent
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=IsRecoverable
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=LandedOrSplashed
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=CelestialBody
 +
  |name=mainBody
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=Orbit
 +
  |name=orbit
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=List<Part>
 +
  |name=Parts
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=bool
 +
  |name=PatchedConicsAttached
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=Transform
 +
  |name=ReferenceTransform
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=VesselValues
 +
  |name=VesselValues
 +
  |desc=
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=static float
 +
  |name=loadDistance
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{Property
 +
  |type=static float
 +
  |name=unloadDistance
 +
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 +
  |hasget=1
 +
  |hasset=1
 +
}}
 +
{{PropertiesEnd}}
 +
 +
{{FieldsStart}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=acceleration;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=altitude;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=angularMomentum;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=angularVelocity;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=atmDensity;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=atmosphericTemperature;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=CentrifugalAcc;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=CoM;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=convectiveCoefficient;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=convectiveMachFlux;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=CoriolisAcc;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=FlightCtrlState
 +
  |name=ctrlState;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=int
 +
  |name=currentStage;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=directSunlight;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=distanceToSun;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=dynamicPressurekPa;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=KerbalEVA
 +
  |name=evaController;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=externalTemperature;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=ConfigNode
 +
  |name=flightPlanNode;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=geeForce;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=geeForce_immediate;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=gForce;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=handlePhysicsStats;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=float
 +
  |name=heightFromSurface;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=float
 +
  |name=heightFromTerrain;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=horizontalSrfSpeed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Guid
 +
  |name=id;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=indicatedAirSpeed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=Landed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=string
 +
  |name=landedAt;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=latitude;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=launchTime;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=loaded;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=localCoM;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=longitude;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=mach;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=missionTime;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=MOI;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=obt_speed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=obt_velocity;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=FlightInputCallback
 +
  |name=OnAutopilotUpdate;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=FlightInputCallback
 +
  |name=OnFlyByWire;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Callback
 +
  |name=OnJustAboutToBeDestroyed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=FlightInputCallback
 +
  |name=OnPostAutopilotUpdate;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=FlightInputCallback
 +
  |name=OnPreAutopilotUpdate;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=OrbitDriver
 +
  |name=orbitDriver;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=OrbitRenderer
 +
  |name=orbitRenderer;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=OrbitTargeter
 +
  |name=orbitTargeter;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=packed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=List<Part>
 +
  |name=parts;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=PatchedConicRenderer
 +
  |name=patchedConicRenderer;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=PatchedConicSolver
 +
  |name=patchedConicSolver;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=perturbation;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=pqsAltitude;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=ProtoVessel
 +
  |name=protoVessel;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=rb_velocity;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=uint
 +
  |name=referenceTransformId;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Part
 +
  |name=rootPart;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Situations
 +
  |name=situation;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=enum
 +
  |name=Situations
 +
  |desc={ LANDED, SPLASHED, PRELAUNCH, FLYING, SUB_ORBITAL, ORBITING, ESCAPING, DOCKED }
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=solarFlux;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=specificAcceleration;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=speed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=speedOfSound;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=bool
 +
  |name=Splashed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=srf_velocity;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Quaternion
 +
  |name=srfRelRotation;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=srfSpeed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=enum
 +
  |name=State
 +
  |desc={ INACTIVE, ACTIVE, DEAD }
 +
}}
 +
{{Field
 +
  |type=State
 +
  |name=state;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=staticPressurekPa;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=ITargetable
 +
  |name=targetObject;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=terrainAltitude;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3
 +
  |name=terrainNormal;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Vector3d
 +
  |name=upAxis;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=double
 +
  |name=verticalSpeed;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=string
 +
  |name=vesselName;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=VesselRanges
 +
  |name=vesselRanges;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=Transform
 +
  |name=vesselTransform;
 +
  |desc=
 +
}}
 +
{{Field
 +
  |type=VesselType
 +
  |name=vesselType;
 +
  |desc=
 +
}}
 +
{{FieldsEnd}}
  
 
{{MethodsStart}}
 
{{MethodsStart}}
 
{{Method
 
{{Method
|returntype=void
+
  |returntype=void
|returndesc=
+
  |returndesc=
|name=SetPosition
+
  |name=AttachPatchedConicsSolver);
|args={{arg|Vector3|position}}
+
  |args=
|desc=Sets the worldspace position of this vessel, and all its parts
+
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=ProtoVessel
 +
  |returndesc=
 +
  |name=BackupVessel);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=CalculatePhysicsStats);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=ChangeWorldVelocity
 +
  |args=Vector3d velOffset
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=checkLanded);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=checkSplashed);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=checkVisibility);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=ClearStaging);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=ContainsCollider
 +
  |args=Collider c
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=DespawnCrew);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=DestroyVesselComponents);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=DetachPatchedConicsSolver);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=Die);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=FallBackReferenceTransform);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=FeedInputFeed);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=VesselType
 +
  |returndesc=
 +
  |name=FindDefaultVesselType);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=findLocalCenterOfMass);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=findLocalCenterOfPressure);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=findLocalMOI
 +
  |args=Vector3 worldCoM
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=findLocalMOI);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=List<T>
 +
  |returndesc=
 +
  |name=FindPartModulesImplementing<T>);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=findWorldCenterOfMass);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=List<Part>
 +
  |returndesc=
 +
  |name=GetActiveParts);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=ActiveResource
 +
  |returndesc=
 +
  |name=GetActiveResource
 +
  |args=PartResourceDefinition def
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=List<ActiveResource>
 +
  |returndesc=
 +
  |name=GetActiveResources);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=int
 +
  |returndesc=
 +
  |name=GetCrewCapacity);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=int
 +
  |returndesc=
 +
  |name=GetCrewCount);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=GetFwdVector);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=float
 +
  |returndesc=
 +
  |name=GetHeightFromSurface);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=float
 +
  |returndesc=
 +
  |name=GetHeightFromTerrain);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=GetName);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=GetObtVelocity);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Orbit
 +
  |returndesc=
 +
  |name=GetOrbit);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=OrbitDriver
 +
  |returndesc=
 +
  |name=GetOrbitDriver);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Part
 +
  |returndesc=
 +
  |name=GetReferenceTransformPart);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3
 +
  |returndesc=
 +
  |name=GetSrfVelocity);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=VesselTargetModes
 +
  |returndesc=
 +
  |name=GetTargetingMode);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=float
 +
  |returndesc=
 +
  |name=GetTotalMass);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Transform
 +
  |returndesc=
 +
  |name=GetTransform);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vessel
 +
  |returndesc=
 +
  |name=GetVessel);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=List<ProtoCrewMember>
 +
  |returndesc=
 +
  |name=GetVesselCrew);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=Vector3d
 +
  |returndesc=
 +
  |name=GetWorldPos3D);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=GoOffRails);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=GoOnRails);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=HasControlSources);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=Initialize
 +
  |args=bool fromShipAssembly = false
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=ClearToSaveStatus
 +
  |returndesc=
 +
  |name=IsClearToSave);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=Load);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Load")]
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=MakeActive);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=MakeInactive);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=MurderCrew);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=OnDestroy);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=OnLoadFlightState<string,
 +
  |args=Dictionary<string, KSPParseable> dataPool
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=OnSaveFlightState<string,
 +
  |args=Dictionary<string, KSPParseable> dataPool
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=double
 +
  |returndesc=
 +
  |name=PQSAltitude);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=printCollisions);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Print All Collisions")]
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=printGroundContacts);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Print Ground Contacts")]
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=RenameVessel);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Rename Vessel")]
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=ResetCollisionIgnores);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Reset Collision Ignores")]
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=ResumeStaging);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=ResumeTarget);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=double
 +
  |returndesc=
 +
  |name=RevealAltitude);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=float
 +
  |returndesc=
 +
  |name=RevealMass);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=RevealName);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=RevealSituationString);
 +
  |args=
 +
  |desc=
 
}}
 
}}
 
{{Method
 
{{Method
|returntype=void
+
  |returntype=double
|returndesc=
+
  |returndesc=
|name=SetPosition
+
  |name=RevealSpeed);
|args=sdfghdsfghdfgh
+
  |args=
|desc=Sets the worldspace position of this vessel, and all its parts
+
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=RevealType);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetActiveInternalPart
 +
  |args=Part visiblePart
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetActiveInternalPart);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetActiveInternalPart<Part>
 +
  |args=List<Part> visibleParts
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetPosition
 +
  |args=Vector3 position
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetPosition
 +
  |args=Vector3 position, bool usePristineCoords
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetReferenceTransform
 +
  |args=Part p
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetRotation
 +
  |args=Quaternion rotation
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SetWorldVelocity
 +
  |args=Vector3d vel
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=SpawnCrew);
 +
  |args=
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=StartFromBackup
 +
  |args=ProtoVessel pv
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=Translate
 +
  |args=Vector3 offset
 +
  |desc=
 +
}}
 +
{{Method
 +
  |returntype=void
 +
  |returndesc=
 +
  |name=Unload);
 +
  |args=
 +
  |desc=Has attribute [ContextMenu("Unload")]
 +
}}
 +
{{StaticMethod
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=AutoRename
 +
  |args=Vessel v, string baseName
 +
  |desc=
 +
}}
 +
{{StaticMethod
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=GetLandedAtString
 +
  |args=string landedAt
 +
  |desc=
 +
}}
 +
{{StaticMethod
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=GetMETString
 +
  |args=Vessel v
 +
  |desc=
 +
}}
 +
{{StaticMethod
 +
  |returntype=string
 +
  |returndesc=
 +
  |name=GetSituationString
 +
  |args=Vessel v
 +
  |desc=
 +
}}
 +
{{StaticMethod
 +
  |returntype=bool
 +
  |returndesc=
 +
  |name=IsValidVesselName
 +
  |args=string name
 +
  |desc=
 
}}
 
}}
 
{{MethodsEnd}}
 
{{MethodsEnd}}

Revision as of 01:40, 12 October 2015






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"

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 worldCoM)
Vector3 findLocalMOI);()
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<string,(Dictionary<string, KSPParseable> dataPool)
void OnSaveFlightState<string,(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(Part visiblePart)
void SetActiveInternalPart);()
void SetActiveInternalPart<Part>(List<Part> visibleParts)
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)