◆ GetIconComponent()
◆ HandlerAttached()
override void SCR_ActionMenuElementComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ Set()
Set all the data and how it should be displayed.
- Parameters
-
[in] | userAction | Context the Widget gets assigned to |
[in] | isSelected | is the userAction currently selected by the player |
[in] | isAvailable | is the userAction available (not disabled/blocked) |
[in] | actionUIInfo | containing all the information for the widget Icon, etc. Can be null return True if the userAction has at least one actionName |
◆ SetIconFromAction()
Try to set the Icon defined in the UIInfo from action first.
◆ SetOpacity()
void SCR_ActionMenuElementComponent.SetOpacity |
( |
float | position | ) |
|
◆ SetVisible()
void SCR_ActionMenuElementComponent.SetVisible |
( |
bool | state | ) |
|
◆ UpdateColors()
void SCR_ActionMenuElementComponent.UpdateColors |
( |
| ) |
|
◆ m_bIsDisabled
bool SCR_ActionMenuElementComponent.m_bIsDisabled |
|
protected |
◆ m_bIsSelected
bool SCR_ActionMenuElementComponent.m_bIsSelected |
|
protected |
◆ m_iFontSizeNotSelected
const int SCR_ActionMenuElementComponent.m_iFontSizeNotSelected = 20 |
|
staticprotected |
◆ m_iFontSizeSelected
const int SCR_ActionMenuElementComponent.m_iFontSizeSelected = 24 |
|
staticprotected |
◆ m_Widgets
◆ NEARBY_INTERACTION_OPACITY_CUTOFF
const float SCR_ActionMenuElementComponent.NEARBY_INTERACTION_OPACITY_CUTOFF = 0.1 |
|
staticprotected |
◆ NEARBY_INTERACTION_OPACITY_DIVIDER
const float SCR_ActionMenuElementComponent.NEARBY_INTERACTION_OPACITY_DIVIDER = 3 |
|
staticprotected |
◆ NEARBY_INTERACTION_OPACITY_MULTIPLIER
const float SCR_ActionMenuElementComponent.NEARBY_INTERACTION_OPACITY_MULTIPLIER = 0.9 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/Interactions/Display/SCR_ActionMenuElementComponent.c