C# Class KerbalAlarmClock.AngleRenderEject

Inheritance: MonoBehaviourExtended
Datei anzeigen Open project: TriggerAu/KerbalAlarmClock Class Usage Examples

Public Methods

Method Description
DrawAngle ( CelestialBody bodyOrigin, Double angleTarget, System.Boolean ToRetrograde ) : void
HideAngle ( ) : void

Private Methods

Method Description
ClampDegrees180 ( double angle ) : double
ClampDegrees360 ( double angle ) : double
DrawArc ( LineRenderer line, UnityEngine.Vector3d vectStart, Double Angle, Double StartLength, Double EndLength ) : void
DrawLine ( LineRenderer line, UnityEngine.Vector3d pointStart, UnityEngine.Vector3d pointEnd ) : void
DrawLineArrow ( LineRenderer line1, LineRenderer line2, UnityEngine.Vector3d pointStart, UnityEngine.Vector3d pointEnd, UnityEngine.Vector3d vectPlaneNormal, Double ArrowArmLength ) : void
FixedUpdate ( ) : void
InitLine ( GameObject objToAttach, Color lineColor, Int32 VertexCount, Int32 InitialWidth, Material linesMaterial ) : LineRenderer

Initialise a LineRenderer with some baseic values

OnDestroy ( ) : void
OnGUIEvery ( ) : void
OnPreCull ( ) : void
Start ( ) : void

Method Details

DrawAngle() public method

public DrawAngle ( CelestialBody bodyOrigin, Double angleTarget, System.Boolean ToRetrograde ) : void
bodyOrigin CelestialBody
angleTarget Double
ToRetrograde System.Boolean
return void

HideAngle() public method

public HideAngle ( ) : void
return void