Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Expansions.Missions.NodeLabel Class Reference
Inheritance diagram for Expansions.Missions.NodeLabel:
BaseLabel

Public Member Functions

void Setup (VesselLabels labels, ITestNodeLabel newTestModule)
 Set up the information necessary for a NodeLabel. More...
 
- Public Member Functions inherited from BaseLabel
void Disable ()
 
void Enable ()
 
void ResetParent ()
 Called from the UI scale change event to readjust when the UI scale change More...
 
void Setup (VesselLabels labels, VesselLabels.VesselLabelType labelType)
 Set up the information common to all different types of label. More...
 

Properties

MENode node [get, set]
 Node which this label is marking. A node might have multiple NodeLabels created for it because it could have multiple test modules which want to display their location. More...
 
ITestNodeLabel testModule [get, set]
 Test module of the node that has been cast to ITestNodeLabel interface so that we can get the necessary information. More...
 
- Properties inherited from BaseLabel
bool Hover [get]
 
VesselLabels.VesselLabelType labelType [get, set]
 

Additional Inherited Members

- Public Attributes inherited from BaseLabel
Image icon
 
TMPro.TextMeshProUGUI text
 
- Protected Member Functions inherited from BaseLabel
virtual void OnClick (PointerEventData ptrData)
 
- Protected Attributes inherited from BaseLabel
VesselLabels labels
 

Member Function Documentation

void Expansions.Missions.NodeLabel.Setup ( VesselLabels  labels,
ITestNodeLabel  newTestModule 
)
inline

Set up the information necessary for a NodeLabel.

Property Documentation

MENode Expansions.Missions.NodeLabel.node
getset

Node which this label is marking. A node might have multiple NodeLabels created for it because it could have multiple test modules which want to display their location.

ITestNodeLabel Expansions.Missions.NodeLabel.testModule
getset

Test module of the node that has been cast to ITestNodeLabel interface so that we can get the necessary information.


The documentation for this class was generated from the following file: