|
| override 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.
|
| |
| void | CalculateScreenSize (Widget degreeWidget) |
| | Calculate the current screensize in DPI unscaled format.
|
| |
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| |
| override void | DisplayStartDraw (IEntity owner) |
| |
| override void | DisplayStopDraw (IEntity owner) |
| |
| void | SetEnabled (bool isEnabled) |
| |
| 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) |
| |
| 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) |
| |
◆ CalculateScreenSize()
| void SCR_BaseHeadingDisplay.CalculateScreenSize |
( |
Widget | degreeWidget | ) |
|
◆ CalculateWidgetScreenSizeUnscaled()
| void SCR_BaseHeadingDisplay.CalculateWidgetScreenSizeUnscaled |
( |
Widget | widget | ) |
|
|
protected |
◆ DisplayStartDraw()
| override void SCR_BaseHeadingDisplay.DisplayStartDraw |
( |
IEntity | owner | ) |
|
◆ DisplayStopDraw()
| override void SCR_BaseHeadingDisplay.DisplayStopDraw |
( |
IEntity | owner | ) |
|
◆ DisplayUpdate()
| override void SCR_BaseHeadingDisplay.DisplayUpdate |
( |
IEntity | owner, |
|
|
float | timeSlice ) |
◆ GetMuzzleDirection()
| vector SCR_BaseHeadingDisplay.GetMuzzleDirection |
( |
| ) |
|
|
protected |
◆ SetupHeadingWidgets()
| void SCR_BaseHeadingDisplay.SetupHeadingWidgets |
( |
ResourceName | headingHolderLayout = string::Empty, |
|
|
ResourceName | headingNotchLayout = string::Empty ) |
|
protected |
Create all needed Widgets that display the current and next / previous heading.
- Parameters
-
| [in] | headingHolderLayout | resource name of the layout that will be used for holding the notches |
| [in] | headingNotchLayout | resource name of the layout which will be used to create notches |
Implemented in SCR_BaseWeaponAzimuthDisplay, and SCR_BaseWeaponElevationDisplay.
◆ Show()
| override void SCR_BaseHeadingDisplay.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.
Use this method instead of SetVisible/SetOpacity.
- Parameters
-
| show | true to show, false to hide |
| speed | fade rate, default 0 |
| curve | hiding interpolation, default linear |
Implements SCR_InfoDisplayExtended.
◆ ShowDelay()
◆ UpdateFOV()
| void SCR_BaseHeadingDisplay.UpdateFOV |
( |
float | fov | ) |
|
|
protected |
Update padding and size based on current FOV.
- Parameters
-
◆ m_aHalfPaddingWidgetNames
| ref array<string> SCR_BaseHeadingDisplay.m_aHalfPaddingWidgetNames |
|
protected |
◆ m_aHeadingPaddingWidgets
| ref array<SizeLayoutWidget> SCR_BaseHeadingDisplay.m_aHeadingPaddingWidgets = {} |
|
protected |
◆ m_aHeadingTextWidgets
| ref array<TextWidget> SCR_BaseHeadingDisplay.m_aHeadingTextWidgets = {} |
|
protected |
◆ m_aPaddingWidgetNames
| ref array<string> SCR_BaseHeadingDisplay.m_aPaddingWidgetNames |
|
protected |
◆ m_bShowDegrees
| bool SCR_BaseHeadingDisplay.m_bShowDegrees |
|
protected |
◆ m_bShowMils
| bool SCR_BaseHeadingDisplay.m_bShowMils |
|
protected |
◆ m_Camera
◆ m_CameraManager
◆ m_fCurrentFOV
| float SCR_BaseHeadingDisplay.m_fCurrentFOV |
|
protected |
◆ m_fDegreeWidgetDefaultSize
| float SCR_BaseHeadingDisplay.m_fDegreeWidgetDefaultSize |
|
protected |
◆ m_fDegreeWidgetDefaultSizeHeight
| float SCR_BaseHeadingDisplay.m_fDegreeWidgetDefaultSizeHeight |
|
protected |
◆ m_fDegreeWidgetDefaultSizeWidth
| float SCR_BaseHeadingDisplay.m_fDegreeWidgetDefaultSizeWidth |
|
protected |
◆ m_fDegreeWidgetSize
| float SCR_BaseHeadingDisplay.m_fDegreeWidgetSize |
|
protected |
◆ m_fFadeInDelay
| float SCR_BaseHeadingDisplay.m_fFadeInDelay |
|
protected |
◆ m_fMils
| float SCR_BaseHeadingDisplay.m_fMils |
|
protected |
◆ m_fSliderPosX
| float SCR_BaseHeadingDisplay.m_fSliderPosX |
|
protected |
◆ m_fSliderPosY
| float SCR_BaseHeadingDisplay.m_fSliderPosY |
|
protected |
◆ m_iCurrentHeading
| int SCR_BaseHeadingDisplay.m_iCurrentHeading |
|
protected |
◆ m_iLastStoredHeading
| int SCR_BaseHeadingDisplay.m_iLastStoredHeading |
|
protected |
◆ m_iMaxShownDegrees
| int SCR_BaseHeadingDisplay.m_iMaxShownDegrees |
|
protected |
◆ m_sDegreeTextWidgetName
| string SCR_BaseHeadingDisplay.m_sDegreeTextWidgetName |
|
protected |
◆ m_sHeadingTableHolderWidgetName
| string SCR_BaseHeadingDisplay.m_sHeadingTableHolderWidgetName |
|
protected |
◆ m_sMilsTextWidgetName
| string SCR_BaseHeadingDisplay.m_sMilsTextWidgetName |
|
protected |
◆ m_sTxtHeadingDegreeNotchWidgetName
| string SCR_BaseHeadingDisplay.m_sTxtHeadingDegreeNotchWidgetName |
|
protected |
◆ m_TurretController
◆ m_wDegreesTextWidget
| TextWidget SCR_BaseHeadingDisplay.m_wDegreesTextWidget |
|
protected |
◆ m_wHeadingTableHolderWidget
| ScrollLayoutWidget SCR_BaseHeadingDisplay.m_wHeadingTableHolderWidget |
|
protected |
◆ m_wMilsTextWidget
| TextWidget SCR_BaseHeadingDisplay.m_wMilsTextWidget |
|
protected |
◆ m_wSavedHeadingWidget
| Widget SCR_BaseHeadingDisplay.m_wSavedHeadingWidget |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/HUD/MortarInfo/SCR_BaseHeadingDisplay.c