C# Class RemoteTech.UI.FocusFragment

Inheritance: IFragment
ファイルを表示 Open project: RemoteTechnologiesGroup/RemoteTech

Public Methods

Method 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 method

public Draw ( ) : void
return void

resetSelection() public method

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

resetTarget() public method

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
return MapObject

setSelection() public method

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
return void