|
void | ShowZoneWarning (bool show, ERestrictionZoneWarningType warningType, vector zoneCenter, float warningRadiusSq, float zoneRadiusSq, float speed=UIConstants.FADE_RATE_DEFAULT) |
| Show the restriction zone warning and set the correct UIInfo.
|
|
override void | OnStartDraw (IEntity owner) |
|
void | ~SCR_RestrictionZoneWarningHUDComponent () |
|
SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
|
SCR_InfoDisplayInvoker | GetOnStart () |
|
SCR_InfoDisplayInvoker | GetOnStop () |
|
IEntity | GetOwnerEntity () |
|
Widget | GetContentWidget () |
|
string | GetContentWidgetName () |
|
void | SetRootWidget (notnull Widget root) |
|
void | SetContentWidget (notnull Widget content) |
|
void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
bool | IsShown () |
|
Widget | GetRootWidget () |
|
bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
void | RegisterToHudManager () |
|
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
|
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
|
◆ ~SCR_RestrictionZoneWarningHUDComponent()
void SCR_RestrictionZoneWarningHUDComponent.~SCR_RestrictionZoneWarningHUDComponent |
( |
| ) |
|
◆ OnStartDraw()
override void SCR_RestrictionZoneWarningHUDComponent.OnStartDraw |
( |
IEntity |
owner | ) |
|
◆ ShowZoneWarning()
void SCR_RestrictionZoneWarningHUDComponent.ShowZoneWarning |
( |
bool |
show, |
|
|
ERestrictionZoneWarningType |
warningType, |
|
|
vector |
zoneCenter, |
|
|
float |
warningRadiusSq, |
|
|
float |
zoneRadiusSq, |
|
|
float |
speed = UIConstants::FADE_RATE_DEFAULT |
|
) |
| |
Show the restriction zone warning and set the correct UIInfo.
- Parameters
-
show | If the warning should be shown or hidden |
speed | fadeSpeed |
◆ UpdateVisualWarning()
void SCR_RestrictionZoneWarningHUDComponent.UpdateVisualWarning |
( |
| ) |
|
|
protected |
◆ m_aWarningUIInfos
◆ m_fMaxWarningDistanceVisualsOpacity
float SCR_RestrictionZoneWarningHUDComponent.m_fMaxWarningDistanceVisualsOpacity |
|
protected |
◆ m_fMinWarningDistanceVisualsOpacity
float SCR_RestrictionZoneWarningHUDComponent.m_fMinWarningDistanceVisualsOpacity |
|
protected |
◆ m_fWarningRadiusSq
float SCR_RestrictionZoneWarningHUDComponent.m_fWarningRadiusSq |
|
protected |
◆ m_fWarningVisualsMinOpacity
float SCR_RestrictionZoneWarningHUDComponent.m_fWarningVisualsMinOpacity |
|
protected |
◆ m_fWarningVisualsUpdateTime
float SCR_RestrictionZoneWarningHUDComponent.m_fWarningVisualsUpdateTime |
|
protected |
◆ m_fZoneMinusWarningSq
float SCR_RestrictionZoneWarningHUDComponent.m_fZoneMinusWarningSq |
|
protected |
◆ m_iCurrentDisplayedWarning
ERestrictionZoneWarningType SCR_RestrictionZoneWarningHUDComponent.m_iCurrentDisplayedWarning = -1 |
|
protected |
◆ m_sExplanationWidgetName
string SCR_RestrictionZoneWarningHUDComponent.m_sExplanationWidgetName |
|
protected |
◆ m_sIconWidgetName
string SCR_RestrictionZoneWarningHUDComponent.m_sIconWidgetName |
|
protected |
◆ m_sWarningVisualsHolderName
string SCR_RestrictionZoneWarningHUDComponent.m_sWarningVisualsHolderName |
|
protected |
◆ m_sWarningWidgetName
string SCR_RestrictionZoneWarningHUDComponent.m_sWarningWidgetName |
|
protected |
◆ m_sWarningZoneDistanceVisualsName
string SCR_RestrictionZoneWarningHUDComponent.m_sWarningZoneDistanceVisualsName |
|
protected |
◆ m_vZoneCenter
vector SCR_RestrictionZoneWarningHUDComponent.m_vZoneCenter |
|
protected |
◆ m_WarningVisualsHolder
Widget SCR_RestrictionZoneWarningHUDComponent.m_WarningVisualsHolder |
|
protected |
◆ m_WarningZoneDistanceVisuals
Widget SCR_RestrictionZoneWarningHUDComponent.m_WarningZoneDistanceVisuals |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/HUD/SCR_RestrictionZoneWarningHUDComponent.c