◆ ChangeVisibility()
void SCR_NearbyContextWidgetComponentInteract.ChangeVisibility |
( |
bool | isInLineOfSight | ) |
|
Changes the color of the root to make the whole widget darker / lighter to indicate if it's on line of sight or not.
- Parameters
-
[in] | bool | Is in line of sight |
◆ GetAssignedContext()
Get the context that currently uses this Widget.
◆ GetOnContextAssigned()
ScriptInvokerVoid SCR_NearbyContextWidgetComponentInteract.GetOnContextAssigned |
( |
| ) |
|
◆ HandlerAttached()
override void SCR_NearbyContextWidgetComponentInteract.HandlerAttached |
( |
Widget | w | ) |
|
◆ HasColorData()
bool SCR_NearbyContextWidgetComponentInteract.HasColorData |
( |
| ) |
|
◆ IsHealingAction()
bool SCR_NearbyContextWidgetComponentInteract.IsHealingAction |
( |
BaseUserAction | userAct, |
|
|
out bool | showOuterBackground, |
|
|
out int | nearbyColorState ) |
|
protected |
◆ OnAssigned() [1/2]
Will be called everytime the Widget gets assigned to a new context This happens everytime the context is in line of sight again.
- Parameters
-
[in] | UIInfo | containing all the information for the widget Icon, etc. Can be null |
[in] | UserActionContext | Context the Widget gets assigned to |
◆ OnAssigned() [2/2]
Will be called everytime the Widget gets assigned to a new context This happens everytime the context is in line of sight again.
- Parameters
-
[in] | info | containing all the information for the widget Icon, etc. Can be null |
[in] | context | the Widget gets assigned to |
◆ SetColors()
Set the colors from the given colorset.
- Parameters
-
[in] | colorset | The set of colors to apply |
[in] | showOuterBackground | Should the outer shadow/background effect be displayed |
◆ SetColorsData()
◆ SetIconFromAction()
void SCR_NearbyContextWidgetComponentInteract.SetIconFromAction |
( |
SCR_ActionUIInfo | info | ) |
|
|
protected |
Try to set the Icon defined in the UIInfo from action first return True if icon was able to be set from Action or from UIInfo.
◆ UpdateColors() [1/2]
◆ UpdateColors() [2/2]
◆ DISABLED_NEARBY_INTERACTION_OPACITY
const float SCR_NearbyContextWidgetComponentInteract.DISABLED_NEARBY_INTERACTION_OPACITY = 0.4 |
|
staticprotected |
◆ ENABLED_NEARBY_INTERACTION_GLOW_OPACITY
const float SCR_NearbyContextWidgetComponentInteract.ENABLED_NEARBY_INTERACTION_GLOW_OPACITY = 0.6 |
|
staticprotected |
◆ m_AssignedContext
◆ m_BackgroundColor
Color SCR_NearbyContextWidgetComponentInteract.m_BackgroundColor |
|
protected |
◆ m_FirstAction
◆ m_GlowColor
Color SCR_NearbyContextWidgetComponentInteract.m_GlowColor |
|
protected |
◆ m_IconColor
Color SCR_NearbyContextWidgetComponentInteract.m_IconColor |
|
protected |
◆ m_mCachedActionColors
Holds all the different cached id with the enum as key.
◆ m_OnContextAssigned
ref ScriptInvokerVoid SCR_NearbyContextWidgetComponentInteract.m_OnContextAssigned |
|
protected |
◆ m_Widgets
The documentation for this interface was generated from the following file:
- Game/UI/HUD/SCR_NearbyContextWidgetComponentInteract.c