|
| void | LoadDataPage (notnull Widget root, notnull SCR_DataDisplayGadgetComponent drawingGadget, int pageID) |
| | Method used to add widgets with ballistic data for currently selected page.
|
| |
| void | ClearDataPage (notnull Widget root) |
| | Clears the content of the ROW_HOLDER_NAME from any non STATIC elements F.e.
|
| |
| Widget | AddRow (notnull Widget parentWidget, int rowID=0) |
| | Meant to add a single row.
|
| |
| Widget | AddCell (notnull Widget parentWidget, string text, int columnID=0) |
| | Meant to add a single cell.
|
| |
| vector | GenerateEdgeValues (notnull IEntitySource entitySrc, float cutoffRadAngle, bool upper=false) |
| |
◆ AddCell()
| Widget SCR_VisualisedBallisticConfig.AddCell |
( |
notnull Widget | parentWidget, |
|
|
string | text, |
|
|
int | columnID = 0 ) |
|
protected |
Meant to add a single cell.
◆ AddRow()
| Widget SCR_VisualisedBallisticConfig.AddRow |
( |
notnull Widget | parentWidget, |
|
|
int | rowID = 0 ) |
|
protected |
Meant to add a single row.
◆ ClearDataPage()
| void SCR_VisualisedBallisticConfig.ClearDataPage |
( |
notnull Widget | root | ) |
|
|
protected |
Clears the content of the ROW_HOLDER_NAME from any non STATIC elements F.e.
to be used when we will want to load different data when we change page
◆ DrawPageData()
| override void SCR_VisualisedBallisticConfig.DrawPageData |
( |
notnull Widget | root, |
|
|
notnull IEntity | surfaceEntity, |
|
|
notnull SCR_DataDisplayGadgetComponent | drawingGadget, |
|
|
int | pageID ) |
Custom logic for drawing the data from this page.
- Parameters
-
| [in] | root | widget inside of which data should be drawn |
| [in] | surfaceEntity | entity on which this data is being displayed on |
| [in] | drawingGadget | gadget which called this method |
| [in] | pageID | id of this page, starting from 0 |
Implements SCR_BaseDataPageConfig.
◆ GenerateBallisticData()
| override bool SCR_VisualisedBallisticConfig.GenerateBallisticData |
( |
| ) |
|
◆ LoadDataPage()
Method used to add widgets with ballistic data for currently selected page.
◆ AMMO_TYPE_NAME
| const string SCR_VisualisedBallisticConfig.AMMO_TYPE_NAME = "AmmoTypeIcon" |
|
static |
◆ CONTENT_HOLDER_NAME
| const string SCR_VisualisedBallisticConfig.CONTENT_HOLDER_NAME = "ContentHolder" |
|
static |
◆ CONTENT_LABEL_NAME
| const string SCR_VisualisedBallisticConfig.CONTENT_LABEL_NAME = "Label" |
|
static |
◆ DISPERSION_VALUE_CONTAINER_NAME
| const string SCR_VisualisedBallisticConfig.DISPERSION_VALUE_CONTAINER_NAME = "DispersionValue" |
|
static |
◆ EMPTY_CELL_TEXT
| const string SCR_VisualisedBallisticConfig.EMPTY_CELL_TEXT = "-" |
|
static |
◆ m_aGridFillWeights
| ref array<float> SCR_VisualisedBallisticConfig.m_aGridFillWeights |
|
protected |
◆ m_bDataExtensionCompleted
| bool SCR_VisualisedBallisticConfig.m_bDataExtensionCompleted |
|
protected |
◆ m_bReplaceZerosWithDash
| bool SCR_VisualisedBallisticConfig.m_bReplaceZerosWithDash |
|
protected |
◆ m_iElevationChangeDownRange
| int SCR_VisualisedBallisticConfig.m_iElevationChangeDownRange |
|
protected |
◆ m_iMaxRange
| int SCR_VisualisedBallisticConfig.m_iMaxRange |
|
protected |
◆ m_iMinRange
| int SCR_VisualisedBallisticConfig.m_iMinRange |
|
protected |
◆ m_sAverageDispersionFormat
◆ m_sCellPrefab
| ResourceName SCR_VisualisedBallisticConfig.m_sCellPrefab |
|
protected |
◆ m_sLayoutName
| ResourceName SCR_VisualisedBallisticConfig.m_sLayoutName |
|
protected |
◆ m_sRowPrefab
| ResourceName SCR_VisualisedBallisticConfig.m_sRowPrefab |
|
protected |
◆ ROW_HOLDER_NAME
| const string SCR_VisualisedBallisticConfig.ROW_HOLDER_NAME = "BallisticContentLayout" |
|
static |
◆ STATIC_WIDGET_INDICATOR
| const string SCR_VisualisedBallisticConfig.STATIC_WIDGET_INDICATOR = "STATIC" |
|
static |
◆ TITLE_LABEL_NAME
| const string SCR_VisualisedBallisticConfig.TITLE_LABEL_NAME = "Title" |
|
static |
The documentation for this interface was generated from the following file:
- Game/Components/Gadgets/Configs/SCR_VisualisedBallisticConfig.c