![]() |
AirControl
1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
|
Background component. Due to the limitations of the framework, there are two limitations to the use of background component: 1: The parent node of chart cannot have a layout control class component. 2: The parent node of Chart can only have one child node of the current chart. More...
Properties | |
bool | show [get, set] |
Whether to enable the background component. However, the ability to activate the background component is subject to other conditions. 是否启用背景组件。但能否激活背景组件还要受其他条件限制。 More... | |
Sprite | image [get, set] |
the image of background. 背景图。 More... | |
Image.Type | imageType [get, set] |
the fill type of background image. 背景图填充类型。 More... | |
Color | imageColor [get, set] |
背景图颜色。 More... | |
bool | hideThemeBackgroundColor [get, set] |
Whether to hide the background color set in the theme when the background component is on. 当background组件开启时,是否隐藏主题中设置的背景色。 More... | |
static Background | defaultBackground [get] |
![]() | |
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 | |
![]() | |
virtual void | SetVerticesDirty () |
virtual void | ClearVerticesDirty () |
virtual void | SetComponentDirty () |
virtual void | ClearComponentDirty () |
virtual void | ClearDirty () |
virtual void | SetAllDirty () |
![]() | |
bool | m_VertsDirty |
bool | m_ComponentDirty |
Painter | m_Painter |
Background component. Due to the limitations of the framework, there are two limitations to the use of background component: 1: The parent node of chart cannot have a layout control class component. 2: The parent node of Chart can only have one child node of the current chart.
背景组件。 由于框架的局限性,背景组件使用有以下两个限制: 1:chart的父节点不能有布局控制类组件。 2:chart的父节点只能有当前chart一个子节点。 背景组件的开启需要通过接口来开启:BaseChart.EnableBackground(bool flag)
Definition at line 28 of file Background.cs.
|
getset |
Whether to hide the background color set in the theme when the background component is on. 当background组件开启时,是否隐藏主题中设置的背景色。
Definition at line 80 of file Background.cs.
|
getset |
the image of background. 背景图。
Definition at line 51 of file Background.cs.
|
getset |
背景图颜色。
Definition at line 70 of file Background.cs.
|
getset |
the fill type of background image. 背景图填充类型。
Definition at line 61 of file Background.cs.
|
getset |
Whether to enable the background component. However, the ability to activate the background component is subject to other conditions. 是否启用背景组件。但能否激活背景组件还要受其他条件限制。
Definition at line 42 of file Background.cs.