AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.GaugePointer Class Reference

Settings related to gauge pointer. 仪表盘指针相关设置。 More...

Inheritance diagram for XCharts.GaugePointer:
Collaboration diagram for XCharts.GaugePointer:

Properties

bool show [get, set]
 Whether to display a pointer. 是否显示指针。 More...
 
float length [get, set]
 Pointer length. It can be an absolute value, or it can be a percentage relative to the radius (0-1). 指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。 More...
 
float width [get, set]
 Pointer width. 指针宽度。 More...
 
- Properties inherited from XCharts.ChartComponent
virtual bool vertsDirty [get]
 图表重绘标记。 More...
 
virtual bool componentDirty [get]
 组件重新初始化标记。 More...
 
bool anyDirty [get]
 需要重绘图表或重新初始化组件。 More...
 
Painter painter [get, set]
 
Action refreshComponent [get, set]
 
GameObject gameObject [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearVerticesDirty ()
 
virtual void SetComponentDirty ()
 
virtual void ClearComponentDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 
- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

Settings related to gauge pointer. 仪表盘指针相关设置。

Definition at line 19 of file GaugePointer.cs.

Property Documentation

◆ length

float XCharts.GaugePointer.length
getset

Pointer length. It can be an absolute value, or it can be a percentage relative to the radius (0-1). 指针长度。可以是绝对值,也可以是相对于半径的百分比(0-1的浮点数)。

Definition at line 39 of file GaugePointer.cs.

39  {
40  get { return m_Length; }
41  set { if (PropertyUtil.SetStruct(ref m_Length, value)) SetVerticesDirty(); }
42  }

◆ show

bool XCharts.GaugePointer.show
getset

Whether to display a pointer. 是否显示指针。

Definition at line 30 of file GaugePointer.cs.

30  {
31  get { return m_Show; }
32  set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); }
33  }

◆ width

float XCharts.GaugePointer.width
getset

Pointer width. 指针宽度。

Definition at line 48 of file GaugePointer.cs.

48  {
49  get { return m_Width; }
50  set { if (PropertyUtil.SetStruct(ref m_Width, value)) SetVerticesDirty(); }
51  }

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