C# Class KerbalAlarmClock.AngleRenderPhase

Inheritance: MonoBehaviourExtended
Afficher le fichier Open project: TriggerAu/KerbalAlarmClock Class Usage Examples

Méthodes publiques

Méthode Description
DrawAngle ( CelestialBody bodyOrigin, CelestialBody bodyTarget ) : void
DrawAngle ( CelestialBody bodyOrigin, CelestialBody bodyTarget, Double angleTarget ) : void
HideAngle ( ) : void

Private Methods

Méthode Description
Awake ( ) : void
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
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 méthode

public DrawAngle ( CelestialBody bodyOrigin, CelestialBody bodyTarget ) : void
bodyOrigin CelestialBody
bodyTarget CelestialBody
Résultat void

DrawAngle() public méthode

public DrawAngle ( CelestialBody bodyOrigin, CelestialBody bodyTarget, Double angleTarget ) : void
bodyOrigin CelestialBody
bodyTarget CelestialBody
angleTarget Double
Résultat void

HideAngle() public méthode

public HideAngle ( ) : void
Résultat void