◆ AdjustLegend()
◆ CalculateVertices()
| void SCR_SpiderNet.CalculateVertices |
( |
array< float > | points, |
|
|
array< float > | oldPoints ) |
|
protected |
To navigate a CanvasWidget we do minus operation to move upwards on the vertical axis Because the CanvasWidget has the 0,0 coordinate at the top-left corner of the widget.
That's why to calculate position we do x=center+h*cos(angle), y=center-h*sin(angle). Because the sin is inverted. So we need to invert the sum operation when working with sin if we want to invert the vertical direction and move upwards by decreasing on the y
◆ CreateLegend()
| void SCR_SpiderNet.CreateLegend |
( |
float | positionX, |
|
|
float | positionY, |
|
|
string | title, |
|
|
int | id ) |
|
protected |
◆ DrawLegends()
| void SCR_SpiderNet.DrawLegends |
( |
| ) |
|
|
protected |
◆ DrawSpiderNet()
| void SCR_SpiderNet.DrawSpiderNet |
( |
| ) |
|
◆ DrawVertices()
| void SCR_SpiderNet.DrawVertices |
( |
| ) |
|
|
protected |
◆ HandlerAttached()
| override void SCR_SpiderNet.HandlerAttached |
( |
Widget | w | ) |
|
|
protected |
◆ InnerArea()
| CanvasWidgetCommand SCR_SpiderNet.InnerArea |
( |
| ) |
|
|
protected |
◆ OldInnerArea()
| CanvasWidgetCommand SCR_SpiderNet.OldInnerArea |
( |
| ) |
|
|
protected |
◆ OldOuterArea()
| CanvasWidgetCommand SCR_SpiderNet.OldOuterArea |
( |
| ) |
|
|
protected |
◆ OnButtonClick()
◆ OnMouseEnterButton()
◆ OnMouseLeaveButton()
◆ OnUpdate()
| override bool SCR_SpiderNet.OnUpdate |
( |
Widget | w | ) |
|
◆ OuterArea()
| CanvasWidgetCommand SCR_SpiderNet.OuterArea |
( |
| ) |
|
|
protected |
◆ RegisterCareerProfileHandler()
◆ SetSpPoints()
| void SCR_SpiderNet.SetSpPoints |
( |
array< float > | specializations, |
|
|
bool | newStats = true ) |
◆ m_aCanvasCommands
| ref array<ref CanvasWidgetCommand> SCR_SpiderNet.m_aCanvasCommands |
|
protected |
◆ m_aLegendPositions
| ref array<float> SCR_SpiderNet.m_aLegendPositions |
|
protected |
◆ m_aLegends
| ref array<ref Widget> SCR_SpiderNet.m_aLegends |
|
protected |
◆ m_aOldSpPoints
| ref array<float> SCR_SpiderNet.m_aOldSpPoints |
|
protected |
◆ m_aOldVertices
| ref array<float> SCR_SpiderNet.m_aOldVertices |
|
protected |
◆ m_aSpPoints
| ref array<float> SCR_SpiderNet.m_aSpPoints |
|
protected |
◆ m_aVertices
| ref array<float> SCR_SpiderNet.m_aVertices |
|
protected |
◆ m_CareerSpecializationsHandler
◆ m_fLegendOffsetAsRadius
| const float SCR_SpiderNet.m_fLegendOffsetAsRadius = 0.2 |
|
staticprotected |
◆ m_fMinRepresentativeValue
| float SCR_SpiderNet.m_fMinRepresentativeValue |
|
protected |
◆ m_fRadius
| float SCR_SpiderNet.m_fRadius |
|
protected |
◆ m_iNumberOfPoints
| int SCR_SpiderNet.m_iNumberOfPoints |
|
protected |
◆ m_iOldStatsOutlineColor
| ref Color SCR_SpiderNet.m_iOldStatsOutlineColor |
|
protected |
◆ m_iOldStatsPolygonColor
| ref Color SCR_SpiderNet.m_iOldStatsPolygonColor |
|
protected |
◆ m_iOutlineColor
| ref Color SCR_SpiderNet.m_iOutlineColor |
|
protected |
◆ m_iPolygonColor
| ref Color SCR_SpiderNet.m_iPolygonColor |
|
protected |
◆ m_LegendLayout
| ResourceName SCR_SpiderNet.m_LegendLayout |
|
protected |
◆ m_vCenter
| vector SCR_SpiderNet.m_vCenter |
|
protected |
◆ m_wbackgroundImage
| ImageWidget SCR_SpiderNet.m_wbackgroundImage |
|
protected |
◆ m_wCanvasWidget
| CanvasWidget SCR_SpiderNet.m_wCanvasWidget |
|
protected |
◆ m_wSpiderNetFrame
| Widget SCR_SpiderNet.m_wSpiderNetFrame |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Menu/CareerProfile/SCR_SpiderNet.c