C# Class RendezMe, RendezMe

Inheritance: Part
Exibir arquivo Open project: bengarney/RendezMe

Public Properties

Property Type Description
AlignmentCaptions string[]
ControlModeCaptions string[]
Kd float
Ki float
Kp float
PointAt Orient
SyncMode SynchronizationType

Protected Properties

Property Type Description
WindowPos Rect

Protected Methods

Method Description
onDisconnect ( ) : void
onFlightStart ( ) : void
onPartDestroy ( ) : void
onPartStart ( ) : void
onPartUpdate ( ) : void

Private Methods

Method Description
CalculateNearestRendezvousInSeconds ( double &timeToRendezvous, double &minDeltaTime ) : void
CalculateTimeTillFurtherTargetApsis ( ) : double
CalculateTimeTillNextTargetApsis ( ) : double
CheckVessel ( ) : bool

Checks if the selected vessel is still where we expect it.

DrawGUI ( ) : void

Draws the GUI.

DriveShip ( FlightCtrlState, controls ) : void
PerformSyncPartLogic ( ) : void
RenderAlignUI ( GUIStyle sty ) : void
RenderOffUI ( GUIStyle sty ) : void
RenderRendezvousUI ( GUIStyle sty ) : void
RenderSelectedUI ( GUIStyle sty ) : void
RenderSyncUI ( GUIStyle sty ) : void
RenderVesselsUI ( GUIStyle sty ) : void
UpdateVectors ( ) : void

Updates the vectors.

WindowGUI ( int windowID ) : void

Method Details

onDisconnect() protected method

protected onDisconnect ( ) : void
return void

onFlightStart() protected method

protected onFlightStart ( ) : void
return void

onPartDestroy() protected method

protected onPartDestroy ( ) : void
return void

onPartStart() protected method

protected onPartStart ( ) : void
return void

onPartUpdate() protected method

protected onPartUpdate ( ) : void
return void

Property Details

AlignmentCaptions public_oe property

public string[] AlignmentCaptions
return string[]

ControlModeCaptions public_oe property

public string[] ControlModeCaptions
return string[]

Kd public_oe property

public float Kd
return float

Ki public_oe property

public float Ki
return float

Kp public_oe property

public float Kp
return float

PointAt public_oe property

public Orient PointAt
return Orient

SyncMode public_oe property

public SynchronizationType SyncMode
return SynchronizationType

WindowPos protected_oe property

protected Rect WindowPos
return Rect