|
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) |
|
◆ AdaptiveOpacity_Update()
void SCR_InfoDisplay.AdaptiveOpacity_Update |
( |
float |
opacity, |
|
|
float |
sceneBrightness, |
|
|
bool |
init = false |
|
) |
| |
|
protected |
◆ GetAnchorPosition()
bool SCR_InfoDisplay.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.
- Parameters
-
[out] | x | |
[out] | y | |
| anchor | |
| addSafezones | |
- Returns
- false if content widget is null, true otherwise
◆ GetContentWidget()
Widget SCR_InfoDisplay.GetContentWidget |
( |
| ) |
|
◆ GetContentWidgetName()
string SCR_InfoDisplay.GetContentWidgetName |
( |
| ) |
|
◆ GetDimensions()
bool SCR_InfoDisplay.GetDimensions |
( |
out float |
width, |
|
|
out float |
height, |
|
|
bool |
addSafezones = true |
|
) |
| |
Get width and height of the InfoDisplay element, optionally with safezones adjustments.
- Parameters
-
[out] | width | |
[out] | height | |
| addSafezones | |
- Returns
- false if content widget is null, true otherwise
◆ GetHandler()
◆ GetOnStart()
SCR_InfoDisplayInvoker SCR_InfoDisplay.GetOnStart |
( |
| ) |
|
◆ GetOnStop()
SCR_InfoDisplayInvoker SCR_InfoDisplay.GetOnStop |
( |
| ) |
|
◆ GetOwnerEntity()
IEntity SCR_InfoDisplay.GetOwnerEntity |
( |
| ) |
|
◆ GetRootWidget()
Widget SCR_InfoDisplay.GetRootWidget |
( |
| ) |
|
◆ IsShown()
bool SCR_InfoDisplay.IsShown |
( |
| ) |
|
◆ OnInit()
override void SCR_InfoDisplay.OnInit |
( |
IEntity |
owner | ) |
|
|
protected |
◆ OnShownFinished()
◆ OnStartDraw()
override void SCR_InfoDisplay.OnStartDraw |
( |
IEntity |
owner | ) |
|
|
protected |
◆ OnStopDraw()
override void SCR_InfoDisplay.OnStopDraw |
( |
IEntity |
owner | ) |
|
|
protected |
◆ RegisterToHudManager()
void SCR_InfoDisplay.RegisterToHudManager |
( |
| ) |
|
◆ SetContentWidget()
void SCR_InfoDisplay.SetContentWidget |
( |
notnull Widget |
content | ) |
|
◆ SetRootWidget()
void SCR_InfoDisplay.SetRootWidget |
( |
notnull Widget |
root | ) |
|
◆ Show()
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 |
Implemented in SCR_WeaponSelectionMenu, and SCR_InfoDisplayExtended.
◆ UpdateValues()
override void SCR_InfoDisplay.UpdateValues |
( |
IEntity |
owner, |
|
|
float |
timeSlice |
|
) |
| |
|
protected |
◆ m_aChildDisplays
◆ m_aHandlers
◆ m_aUpdatableHandlers
◆ m_bRegistered
bool SCR_InfoDisplay.m_bRegistered = false |
|
protected |
◆ m_bShown
bool SCR_InfoDisplay.m_bShown |
|
protected |
◆ m_eLayer
EHudLayers SCR_InfoDisplay.m_eLayer |
◆ m_HUDManager
◆ m_iChildDisplays
int SCR_InfoDisplay.m_iChildDisplays = 0 |
|
protected |
◆ m_iContentHeightAdjustment
int SCR_InfoDisplay.m_iContentHeightAdjustment |
|
protected |
◆ m_iContentWidthAdjustment
int SCR_InfoDisplay.m_iContentWidthAdjustment |
|
protected |
◆ m_iOverrideZOrder
int SCR_InfoDisplay.m_iOverrideZOrder |
◆ m_LayoutPath
ResourceName SCR_InfoDisplay.m_LayoutPath |
◆ m_OnStart
ref SCR_InfoDisplayInvoker SCR_InfoDisplay.m_OnStart = new SCR_InfoDisplayInvoker() |
|
protected |
◆ m_OnStop
ref SCR_InfoDisplayInvoker SCR_InfoDisplay.m_OnStop = new SCR_InfoDisplayInvoker() |
|
protected |
◆ m_OwnerEntity
IEntity SCR_InfoDisplay.m_OwnerEntity |
|
protected |
◆ m_pParentDisplay
◆ m_sAdaptiveOpacityWidgetName
string SCR_InfoDisplay.m_sAdaptiveOpacityWidgetName |
|
protected |
◆ m_sContentWidget
string SCR_InfoDisplay.m_sContentWidget |
|
protected |
◆ m_sParentSlot
string SCR_InfoDisplay.m_sParentSlot |
|
protected |
◆ m_wContent
Widget SCR_InfoDisplay.m_wContent |
|
protected |
◆ m_wRoot
Widget SCR_InfoDisplay.m_wRoot |
|
protected |
◆ m_wSlot
Widget SCR_InfoDisplay.m_wSlot |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/HUD/SCR_InfoDisplay.c