AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.ChartLabel Class Reference
Inheritance diagram for XCharts.ChartLabel:
Collaboration diagram for XCharts.ChartLabel:

Public Member Functions

void SetLabel (GameObject labelObj, bool autoSize, float paddingLeftRight, float paddingTopBottom)
 
void SetAutoSize (bool flag)
 
void SetIcon (Image image)
 
void SetIconSprite (Sprite sprite)
 
void SetIconSize (float width, float height)
 
void UpdateIcon (IconStyle iconStyle, Sprite sprite=null)
 
float GetLabelWidth ()
 
float GetLabelHeight ()
 
void SetLabelColor (Color color)
 
void SetLabelRotate (float rotate)
 
void SetPosition (Vector3 position)
 
void SetLabelPosition (Vector3 position)
 
void SetActive (bool flag)
 
void SetLabelActive (bool flag)
 
void SetIconActive (bool flag)
 
bool SetText (string text)
 
- Public Member Functions inherited from XCharts.ChartObject
virtual void Destroy ()
 

Properties

GameObject gameObject [get, set]
 
Image icon [get, set]
 
ChartText label [get, set]
 
bool autoHideIconWhenLabelEmpty [set]
 
bool isIconActive [get]
 

Additional Inherited Members

- Protected Attributes inherited from XCharts.ChartObject
GameObject m_GameObject
 

Detailed Description

Definition at line 13 of file ChartLabel.cs.


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