Arma Reforger Script API
|
Public Member Functions | |
void | SetEnabled (bool isEnabled) |
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. | |
Public Member Functions inherited from SCR_InfoDisplay | |
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 () |
Public Member Functions inherited from GroupInfoDisplay | |
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
Public Member Functions inherited from BaseInfoDisplay | |
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
Protected Member Functions | |
bool | DisplayStartDrawInit (IEntity owner) |
void | DisplayStartDraw (IEntity owner) |
void | DisplayStopDraw (IEntity owner) |
void | DisplayInit (IEntity owner) |
void | DisplayUpdate (IEntity owner, float timeSlice) |
void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
void | DisplayConsciousnessChanged (bool conscious, bool init=false) |
void | DisplayOnSuspended () |
Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM. | |
void | DisplayOnResumed () |
void | InitializeInterfaceSettings () |
void | OnSettingsChanged () |
Protected Member Functions inherited from SCR_InfoDisplay | |
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
override void | OnStartDraw (IEntity owner) |
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
override void | OnStopDraw (IEntity owner) |
override void | UpdateValues (IEntity owner, float timeSlice) |
override void | OnInit (IEntity owner) |
void | OnInit (IEntity owner) |
void | UpdateValues (IEntity owner, float timeSlice) |
void | OnStartDraw (IEntity owner) |
void | OnStopDraw (IEntity owner) |
Additional Inherited Members | |
Public Attributes inherited from SCR_InfoDisplay | |
ResourceName | m_LayoutPath |
EHudLayers | m_eLayer |
int | m_iOverrideZOrder |
|
protected |
Implemented in SCR_NoiseFilterEffect, and SCR_UnconsciousScreenEffect.
|
protected |
Implemented in SCR_VonDisplay, SCR_NameTagDisplay, SCR_BaseScreenEffect, SCR_BleedingScreenEffect, SCR_DamageBlurEffect, SCR_DeathScreenEffect, SCR_DepthOfFieldEffect, SCR_DesaturationEffect, SCR_DrowningScreenEffect, SCR_NoiseFilterEffect, SCR_RegenerationScreenEffect, SCR_StaminaBlurEffect, SCR_UnconsciousScreenEffect, and SCR_ScreenEffectsManager.
|
protected |
Implemented in SCR_AvailableActionsDisplay, SCR_NearbyContextDisplay, SCR_XPInfoDisplay, SCR_AnalogGauge, SCR_AnalogGaugeNonLinear, SCR_BaseAnalogGauge, SCR_BaseVehicleInfo, SCR_EngineHitZoneInfo, SCR_FuelTankInfo, SCR_GearboxHitZoneInfo, SCR_GearShiftInfo, SCR_HandBrakeInfo, SCR_HZInfoHeli, SCR_LightManagerInfo, SCR_LightManagerInfoMulti, SCR_VInfoAutoHover, SCR_VInfoParkingBrakeHeli, SCR_WheelHitZoneInfo, and SCR_NoiseFilterEffect.
|
protected |
|
protected |
Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
Implemented in SCR_SelectionMenuDisplay, SCR_BleedingScreenEffect, SCR_DamageBlurEffect, SCR_DepthOfFieldEffect, SCR_DesaturationEffect, SCR_InspectCasualtyWidget, SCR_NoiseFilterEffect, SCR_RegenerationScreenEffect, and SCR_StaminaBlurEffect.
|
protected |
Implemented in SCR_ActionMenuInteractionDisplay, SCR_CaptureAndHoldObjectiveDisplay, SCR_CaptureAndHoldTeamScoreDisplay, SCR_ChatHud, SCR_AvailableActionsDisplay, SCR_CompositionInfoDisplay, SCR_2DOpticsDisplay, SCR_CampaignInfoDisplay, SCR_CampaignMapInfoDisplay, SCR_HintInfoDisplay, SCR_NearbyContextDisplay, SCR_NotificationsLogDisplay, SCR_PlacedCommandInfoDisplay, SCR_VoiceoverSubtitles, SCR_VonDisplay, SCR_XPInfoDisplay, SCR_RadialMenuDisplay, SCR_SelectionMenuDisplay, SCR_VONRadialDisplay, SCR_StatsPanelBase, SCR_AnalogGauge, SCR_AnalogGaugeMultiSignal, SCR_AnalogGaugeNonLinear, SCR_BaseAnalogGauge, SCR_BaseVehicleInfo, SCR_GearShiftInfo, SCR_WeaponInfo, SCR_NameTagDisplay, SCR_ScenarioFrameworkTriggerCountdownDisplay, SCR_BaseScreenEffect, SCR_BleedingScreenEffect, SCR_DamageBlurEffect, SCR_DeathScreenEffect, SCR_DepthOfFieldEffect, SCR_DesaturationEffect, SCR_DrowningScreenEffect, SCR_FadeInOutEffect, SCR_InspectCasualtyWidget, SCR_RegenerationScreenEffect, SCR_StaminaBlurEffect, SCR_UnconsciousScreenEffect, SCR_ScreenEffectsManager, and SCR_PreviewRichText.
|
protected |
Implemented in SCR_CaptureAndHoldObjectiveDisplay, SCR_CaptureAndHoldTeamScoreDisplay, SCR_CampaignInfoDisplay, SCR_VonDisplay, SCR_XPInfoDisplay, SCR_StatsPanel_FPS, SCR_StatsPanelBase, SCR_BaseAnalogGauge, SCR_BaseVehicleInfo, SCR_FuelTankInfo, SCR_GearShiftInfo, SCR_HitZoneInfo, SCR_LightManagerInfo, SCR_LightManagerInfoMulti, SCR_WeaponInfo, SCR_WeaponInfoVehicle, SCR_NameTagDisplay, and SCR_PreviewRichText.
|
protected |
Implemented in SCR_ActionMenuInteractionDisplay, SCR_CaptureAndHoldObjectiveDisplay, SCR_CaptureAndHoldTeamScoreDisplay, SCR_ChatHud, SCR_AvailableActionsDisplay, SCR_2DOpticsDisplay, SCR_CampaignMapInfoDisplay, SCR_HintInfoDisplay, SCR_NearbyContextDisplay, SCR_NotificationsLogDisplay, SCR_PlacedCommandInfoDisplay, SCR_VonDisplay, SCR_RadialMenuDisplay, SCR_BaseAnalogGauge, SCR_BaseVehicleInfo, SCR_HitZoneInfo, SCR_LightManagerInfo, SCR_WeaponInfo, SCR_NameTagDisplay, SCR_ScreenEffectsManager, and SCR_PreviewRichText.
|
protected |
Implemented in SCR_ActionMenuInteractionDisplay, SCR_CaptureAndHoldObjectiveDisplay, SCR_CaptureAndHoldTeamScoreDisplay, SCR_ChatHud, SCR_AvailableActionsDisplay, SCR_CompositionInfoDisplay, SCR_2DOpticsDisplay, SCR_CampaignInfoDisplay, SCR_HintInfoDisplay, SCR_NearbyContextDisplay, SCR_NotificationsLogDisplay, SCR_PlacedCommandInfoDisplay, SCR_VonDisplay, SCR_RadialMenuDisplay, SCR_StatsPanelBase, SCR_BaseAnalogGauge, SCR_BaseVehicleInfo, SCR_GearShiftInfo, SCR_WeaponInfo, SCR_WeaponInfoVehicle, SCR_NameTagDisplay, SCR_ScenarioFrameworkTriggerCountdownDisplay, SCR_BaseScreenEffect, SCR_InspectCasualtyWidget, SCR_ScreenEffectsManager, SCR_PreviewRichText, and SCR_WaypointDisplay.
|
protected |
|
protected |
Implemented in SCR_ChatHud, and SCR_XPInfoDisplay.
void SCR_InfoDisplayExtended.SetEnabled | ( | bool | isEnabled | ) |
override void SCR_InfoDisplayExtended.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.
show | true to show, false to hide |
speed | fade rate, default 0 |
curve | hiding interpolation, default linear |
Implements SCR_InfoDisplay.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |