Difference between revisions of "User:Glyph"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Replaced content with " {{Method |returntype=void |returndesc= |name=SetPosition |args={{arg|Vector3|position}} |desc=Sets the worldspace position of this vessel, and all its parts }}")
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
 
  |inherits={{Type|MonoBehaviour}}
 
  |implements=<ul><li>{{Type|IShipconstruct}}</li><li>{{Type|ITargetable}}</li><li>{{Type|IDiscoverable}}</li></ul>
 
  |name=Vessel
 
  |summary=Class attributes:
 
}}
 
 
{{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=static float
 
  |name=loadDistance
 
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 
  |hasget=1
 
  |hasset=1
 
}}
 
{{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=static float
 
  |name=unloadDistance
 
  |desc=Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
 
  |hasget=1
 
  |hasset=1
 
}}
 
{{Property
 
  |type=VesselValues
 
  |name=VesselValues
 
  |desc=
 
  |hasget=1
 
  |hasset=
 
}}
 
{{PropertiesEnd}}
 
  
{{FieldsStart}}
+
{{Method
{{Field
+
|returntype=void
  |type=enum
+
|returndesc=
  |name=Situations
+
|name=SetPosition
  |desc={ LANDED, SPLASHED, PRELAUNCH, FLYING, SUB_ORBITAL, ORBITING, ESCAPING, DOCKED }
+
|args={{arg|Vector3|position}}
 +
|desc=Sets the worldspace position of this vessel, and all its parts
 
}}
 
}}
{{Field
 
  |type=enum
 
  |name=State
 
  |desc={ INACTIVE, ACTIVE, DEAD }
 
}}
 
{{FieldsEnd}}
 
 
{{MethodsStart}}
 
{{MethodsEnd}}
 

Revision as of 01:37, 12 October 2015

|- | void SetPosition(Vector3 position) | Sets the worldspace position of this vessel, and all its parts