C# Class RemoteTech.UI.FocusFragment

Inheritance: IFragment
Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech

Méthodes publiques

Méthode Description
Draw ( ) : void
resetSelection ( ) : void

This method resets the current selected state button on the FocusFragment. Should be called by enter map view.

resetTarget ( ) : MapObject

Reset the current target object on the PlanetariumCamera to the Active vessel or if there is no active vessel (tracking station), back to Kerbin

setSelection ( Vessel v ) : void

This method sets the selection of the focus overlay. Should be called when a tracking station button is clicked

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

resetSelection() public méthode

This method resets the current selected state button on the FocusFragment. Should be called by enter map view.
public resetSelection ( ) : void
Résultat void

resetTarget() public méthode

Reset the current target object on the PlanetariumCamera to the Active vessel or if there is no active vessel (tracking station), back to Kerbin
public resetTarget ( ) : MapObject
Résultat MapObject

setSelection() public méthode

This method sets the selection of the focus overlay. Should be called when a tracking station button is clicked
public setSelection ( Vessel v ) : void
v Vessel
Résultat void