Difference between revisions of "User:Glyph"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 11: Line 11:
 
   |type=ActionGroupList
 
   |type=ActionGroupList
 
   |name=ActionGroups
 
   |name=ActionGroups
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=VesselAutopilot
 
   |type=VesselAutopilot
 
   |name=Autopilot
 
   |name=Autopilot
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=Vector3
 
   |type=Vector3
 
   |name=CurrentCoM
 
   |name=CurrentCoM
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=DiscoveryInfo
 
   |type=DiscoveryInfo
 
   |name=DiscoveryInfo
 
   |name=DiscoveryInfo
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=float
 
   |type=float
 
   |name=distanceLandedPackThreshold
 
   |name=distanceLandedPackThreshold
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=float
 
   |type=float
 
   |name=distanceLandedUnpackThreshold
 
   |name=distanceLandedUnpackThreshold
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=float
 
   |type=float
 
   |name=distancePackThreshold
 
   |name=distancePackThreshold
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=float
 
   |type=float
 
   |name=distanceUnpackThreshold
 
   |name=distanceUnpackThreshold
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=HoldPhysics
 
   |name=HoldPhysics
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=isActiveVessel
 
   |name=isActiveVessel
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=isCommandable
 
   |name=isCommandable
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=IsControllable
 
   |name=IsControllable
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=isEVA
 
   |name=isEVA
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=isPersistent
 
   |name=isPersistent
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=IsRecoverable
 
   |name=IsRecoverable
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=LandedOrSplashed
 
   |name=LandedOrSplashed
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=static float
 
   |type=static float
 
   |name=loadDistance
 
   |name=loadDistance
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=CelestialBody
 
   |type=CelestialBody
 
   |name=mainBody
 
   |name=mainBody
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=Orbit
 
   |type=Orbit
 
   |name=orbit
 
   |name=orbit
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=List<Part>
 
   |type=List<Part>
 
   |name=Parts
 
   |name=Parts
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=bool
 
   |type=bool
 
   |name=PatchedConicsAttached
 
   |name=PatchedConicsAttached
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=Transform
 
   |type=Transform
 
   |name=ReferenceTransform
 
   |name=ReferenceTransform
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=static float
 
   |type=static float
 
   |name=unloadDistance
 
   |name=unloadDistance
   |desc=Has attribute Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
+
   |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
   |desc=1
+
   |hasget=1
   |desc=1
+
   |hasset=1
 
}}
 
}}
 
{{Property
 
{{Property
 
   |type=VesselValues
 
   |type=VesselValues
 
   |name=VesselValues
 
   |name=VesselValues
   |desc=Has attribute
+
   |desc=
   |desc=1
+
   |hasget=1
   |desc=0
+
   |hasset=0
 
}}
 
}}
 
{{PropertiesEnd}}
 
{{PropertiesEnd}}

Revision as of 00:35, 12 October 2015

Vessel Class

Inherits Implements
MonoBehaviour
  • IShipconstruct
  • ITargetable
  • IDiscoverable

Class attributes:

Properties

The following are public properties available in Glyph.

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

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