|
override void | DisplayStartDraw (IEntity owner) |
|
override void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
|
void | SettingsChanged () |
| Called when any settings are changed in the settings menu, upon DisplayStartDraw() Called from SCR_ScreenEffectsManager.
|
|
override void | DisplayUpdate (IEntity owner, float timeSlice) |
|
void | UpdateEffect (float timeSlice) |
| Called every frame from SCR_ScreenEffectsManager.
|
|
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.
|
|
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) |
|
|
void | CreateEffect (float maxDrowningDuration, float drowningTimeStartFX) |
|
void | ClearEffect () |
|
void | BlackoutEffect (float effectStrength, float drowningDuration) |
|
void | OnDeath (EDamageState state) |
|
override void | ClearEffects () |
| Automatically called upon DisplayStartDraw() and DisplayStopDraw() from SCR_ScreenEffectsManager Due to many screeneffects listening to invokers, ClearEffects() is often called manually OnControlledEntityChanged()
|
|
void | RemoveInvokers (IEntity prevEntity) |
|
void | UpdateEffectVisibility (notnull ImageWidget effectWidget) |
| The widget will be made visible or hidden based on its opacity.
|
|
void | AnimateEffectVisibility (notnull ImageWidget effectWidget, float opacity, float alpha, float opacitySpeed=1.0, float alphaSpeed=1.0, bool updateVisibility=true) |
|
void | ShowSingleEffect (notnull ImageWidget effectWidget) |
|
void | HideSingleEffect (notnull ImageWidget effectWidget) |
|
bool | DisplayStartDrawInit (IEntity owner) |
|
void | DisplayStopDraw (IEntity owner) |
|
void | DisplayInit (IEntity owner) |
|
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 () |
|
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
|
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
|
◆ BlackoutEffect()
void SCR_DrowningScreenEffect.BlackoutEffect |
( |
float | effectStrength, |
|
|
float | drowningDuration ) |
|
protected |
◆ ClearEffect()
void SCR_DrowningScreenEffect.ClearEffect |
( |
| ) |
|
|
protected |
◆ ClearEffects()
override void SCR_DrowningScreenEffect.ClearEffects |
( |
| ) |
|
|
protected |
◆ CreateEffect()
void SCR_DrowningScreenEffect.CreateEffect |
( |
float | maxDrowningDuration, |
|
|
float | drowningTimeStartFX ) |
|
protected |
◆ DisplayControlledEntityChanged()
override void SCR_DrowningScreenEffect.DisplayControlledEntityChanged |
( |
IEntity | from, |
|
|
IEntity | to ) |
◆ DisplayStartDraw()
override void SCR_DrowningScreenEffect.DisplayStartDraw |
( |
IEntity | owner | ) |
|
◆ OnDeath()
◆ RemoveInvokers()
void SCR_DrowningScreenEffect.RemoveInvokers |
( |
IEntity | prevEntity | ) |
|
|
protected |
◆ BLACKOUT_OPACITY_MULTIPLIER
const float SCR_DrowningScreenEffect.BLACKOUT_OPACITY_MULTIPLIER = 0.70 |
|
staticprotected |
◆ DROWNINGEFFECT_OPACITY_FADEIN_1_DURATION
const float SCR_DrowningScreenEffect.DROWNINGEFFECT_OPACITY_FADEIN_1_DURATION = 1 |
|
staticprotected |
◆ DROWNINGEFFECT_OPACITY_FADEOUT_1_DURATION
const float SCR_DrowningScreenEffect.DROWNINGEFFECT_OPACITY_FADEOUT_1_DURATION = 0.2 |
|
staticprotected |
◆ DROWNINGEFFECT_PROGRESSION_FADEIN_1_DURATION
const float SCR_DrowningScreenEffect.DROWNINGEFFECT_PROGRESSION_FADEIN_1_DURATION = 4.5 |
|
staticprotected |
◆ DROWNINGEFFECT_PROGRESSION_FADEOUT_1_DURATION
const float SCR_DrowningScreenEffect.DROWNINGEFFECT_PROGRESSION_FADEOUT_1_DURATION = 0.2 |
|
staticprotected |
◆ DROWNINGEFFECT_STRENGTH
const float SCR_DrowningScreenEffect.DROWNINGEFFECT_STRENGTH = 1.0 |
|
staticprotected |
◆ m_pCharacterEntity
◆ m_wBlackOut
ImageWidget SCR_DrowningScreenEffect.m_wBlackOut |
|
protected |
◆ m_wDrowningEffect
ImageWidget SCR_DrowningScreenEffect.m_wDrowningEffect |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/ScreenEffects/SCR_DrowningScreenEffect.c