◆ SCR_MapRulerUI()
void SCR_MapRulerUI.SCR_MapRulerUI |
( |
| ) |
|
◆ Init()
override void SCR_MapRulerUI.Init |
( |
| ) |
|
Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
Implements SCR_MapUIBaseComponent.
◆ OnActivateTool()
void SCR_MapRulerUI.OnActivateTool |
( |
Widget |
widget | ) |
|
|
protected |
◆ OnDragWidget()
void SCR_MapRulerUI.OnDragWidget |
( |
Widget |
widget | ) |
|
|
protected |
◆ OnInputQuickBind()
void SCR_MapRulerUI.OnInputQuickBind |
( |
float |
value, |
|
|
EActionTrigger |
reason |
|
) |
| |
|
protected |
◆ OnMapClose()
◆ OnMapOpen()
◆ OnMapPan()
void SCR_MapRulerUI.OnMapPan |
( |
float |
x, |
|
|
float |
y, |
|
|
bool |
adjustedPan |
|
) |
| |
|
protected |
◆ OnMapZoom()
void SCR_MapRulerUI.OnMapZoom |
( |
float |
zoomVal | ) |
|
|
protected |
◆ SetSize()
void SCR_MapRulerUI.SetSize |
( |
float |
x, |
|
|
float |
y, |
|
|
bool |
nextSize = false |
|
) |
| |
|
protected |
Set size of image, multiply by current size mode.
- Parameters
-
[in] | x | is unscaled size in px |
[in] | y | is unscaled size in px |
[in] | nextSize | determines whether current size is kept or swapped to the next one in size array |
◆ SetVisible()
void SCR_MapRulerUI.SetVisible |
( |
bool |
visible, |
|
|
bool |
saveState = false |
|
) |
| |
|
protected |
Set visibility.
- Parameters
-
[in] | visible | is true/false switch |
[in] | saveState | determines whether this is visibility set during closing of the map, so the pos and rotation should be saved |
◆ ToggleVisible()
void SCR_MapRulerUI.ToggleVisible |
( |
| ) |
|
|
protected |
◆ Update()
override void SCR_MapRulerUI.Update |
( |
float |
timeSlice | ) |
|
◆ m_aSizesArray
ref array<ref int> SCR_MapRulerUI.m_aSizesArray |
|
protected |
◆ m_bIsDragged
bool SCR_MapRulerUI.m_bIsDragged |
|
protected |
◆ m_bIsVisible
bool SCR_MapRulerUI.m_bIsVisible |
|
protected |
◆ m_bIsZooming
bool SCR_MapRulerUI.m_bIsZooming |
|
protected |
◆ m_bWantedVisible
bool SCR_MapRulerUI.m_bWantedVisible |
|
protected |
◆ m_fAngle
float SCR_MapRulerUI.m_fAngle |
|
protected |
◆ m_fBaseImageSize
float SCR_MapRulerUI.m_fBaseImageSize[2] |
|
protected |
◆ m_fPosX
float SCR_MapRulerUI.m_fPosX |
|
protected |
◆ m_fPosY
float SCR_MapRulerUI.m_fPosY |
|
protected |
◆ m_fRulerLength
float SCR_MapRulerUI.m_fRulerLength |
◆ m_fSizeCoef
float SCR_MapRulerUI.m_fSizeCoef |
|
protected |
◆ m_fWorldX
float SCR_MapRulerUI.m_fWorldX |
|
protected |
◆ m_fWorldY
float SCR_MapRulerUI.m_fWorldY |
|
protected |
◆ m_iCurrentSizeIndex
int SCR_MapRulerUI.m_iCurrentSizeIndex |
|
protected |
◆ m_iSizesCount
int SCR_MapRulerUI.m_iSizesCount |
|
protected |
◆ m_sImageWidgetName
string SCR_MapRulerUI.m_sImageWidgetName |
◆ m_sRootWidgetName
string SCR_MapRulerUI.m_sRootWidgetName |
◆ m_sToolMenuIconName
string SCR_MapRulerUI.m_sToolMenuIconName |
◆ m_ToolMenuEntry
◆ m_vMapPan
vector SCR_MapRulerUI.m_vMapPan |
|
protected |
◆ m_wFrame
Widget SCR_MapRulerUI.m_wFrame |
|
protected |
◆ m_wImage
ImageWidget SCR_MapRulerUI.m_wImage |
|
protected |
◆ m_wWorkspace
WorkspaceWidget SCR_MapRulerUI.m_wWorkspace |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Map/ComponentsUI/SCR_MapRulerUI.c