Difference between revisions of "User:Glyph"
From Kerbal Space Program Wiki
Line 1: | Line 1: | ||
+ | <!-- 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 | ||
|inherits={{Type|MonoBehaviour}} | |inherits={{Type|MonoBehaviour}} | ||
|implements=<ul><li>{{Type|IShipconstruct}}</li><li>{{Type|ITargetable}}</li><li>{{Type|IDiscoverable}}</li></ul> | |implements=<ul><li>{{Type|IShipconstruct}}</li><li>{{Type|ITargetable}}</li><li>{{Type|IDiscoverable}}</li></ul> | ||
|name=Vessel | |name=Vessel | ||
− | |summary= | + | |summary=Class attributes: |
}} | }} | ||
+ | |||
{{PropertiesStart}} | {{PropertiesStart}} | ||
+ | {{Property | ||
+ | |type=ActionGroupList | ||
+ | |name=ActionGroups | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=VesselAutopilot | ||
+ | |name=Autopilot | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=Vector3 | ||
+ | |name=CurrentCoM | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=DiscoveryInfo | ||
+ | |name=DiscoveryInfo | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=float | ||
+ | |name=distanceLandedPackThreshold | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=float | ||
+ | |name=distanceLandedUnpackThreshold | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=float | ||
+ | |name=distancePackThreshold | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=float | ||
+ | |name=distanceUnpackThreshold | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=HoldPhysics | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=isActiveVessel | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=isCommandable | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=IsControllable | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=isEVA | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=isPersistent | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=IsRecoverable | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=LandedOrSplashed | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=static float | ||
+ | |name=loadDistance | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=CelestialBody | ||
+ | |name=mainBody | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=Orbit | ||
+ | |name=orbit | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=List<Part> | ||
+ | |name=Parts | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=bool | ||
+ | |name=PatchedConicsAttached | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=Transform | ||
+ | |name=ReferenceTransform | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=static float | ||
+ | |name=unloadDistance | ||
+ | |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")] | ||
+ | |desc=1 | ||
+ | |desc=1 | ||
+ | }} | ||
+ | {{Property | ||
+ | |type=VesselValues | ||
+ | |name=VesselValues | ||
+ | |desc=Has attribute | ||
+ | |desc=1 | ||
+ | |desc=0 | ||
+ | }} | ||
{{PropertiesEnd}} | {{PropertiesEnd}} | ||
Revision as of 00:32, 12 October 2015
Contents
Vessel Class
Inherits | Implements |
---|---|
MonoBehaviour |
|
Class attributes:
Properties
The following are public properties available in Glyph.
Signature | Description |
---|---|
ActionGroupList ActionGroups { } | 0 |
VesselAutopilot Autopilot { } | 0 |
Vector3 CurrentCoM { } | 0 |
DiscoveryInfo DiscoveryInfo { } | 0 |
float distanceLandedPackThreshold { } | 1 |
float distanceLandedUnpackThreshold { } | 1 |
float distancePackThreshold { } | 1 |
float distanceUnpackThreshold { } | 1 |
bool HoldPhysics { } | 0 |
bool isActiveVessel { } | 0 |
bool isCommandable { } | 0 |
bool IsControllable { } | 0 |
bool isEVA { } | 0 |
bool isPersistent { } | 1 |
bool IsRecoverable { } | 0 |
bool LandedOrSplashed { } | 0 |
static float loadDistance { } | 1 |
CelestialBody mainBody { } | 0 |
Orbit orbit { } | 0 |
List<Part> Parts { } | 0 |
bool PatchedConicsAttached { } | 0 |
Transform ReferenceTransform { } | 0 |
static float unloadDistance { } | 1 |
VesselValues VesselValues { } | 0 |
Fields
The following is a list of publically-accessible fields in Glyph. This includes protected items, which can be accessed by subclasses.
Signature | Description |
---|---|
enum Situations | { LANDED, SPLASHED, PRELAUNCH, FLYING, SUB_ORBITAL, ORBITING, ESCAPING, DOCKED } |
enum State | { INACTIVE, ACTIVE, DEAD } |
Methods
The following are methods included in Glyph.
Signature | Description |
---|