◆ CancelFade()
void SCR_FadeUIComponent.CancelFade |
( |
bool |
callFadeDone | ) |
|
Cancel current fade.
- Parameters
-
[in] | callFadeDone | if true it will still call the fade done event |
◆ DelayedFadeIn()
void SCR_FadeUIComponent.DelayedFadeIn |
( |
int |
delay, |
|
|
bool |
setOpacityZero = true |
|
) |
| |
Fade in with delay (in miliseconds)
- Parameters
-
[in] | delay | how long will the delay be fore fading |
[in] | | |
will set opacity to 0 if this is true. Else keeps current opacity
◆ DelayedFadeOut()
void SCR_FadeUIComponent.DelayedFadeOut |
( |
int |
delay, |
|
|
bool |
destroyOnFadeOut, |
|
|
bool |
setOpacityTofadeInTarget = true |
|
) |
| |
Fade out with delay (in milliseconds)
- Parameters
-
[in] | delay | how long will fading take |
[in] | destroyOnFadeOut | will destroy widget if fade out animation is done |
[in] | setOpacityTofadeInTarget | will set opacity to the given fade in amount if this is true. Else keeps current opacity |
◆ FadeDoneCheck()
void SCR_FadeUIComponent.FadeDoneCheck |
( |
| ) |
|
|
protected |
◆ FadeIn()
void SCR_FadeUIComponent.FadeIn |
( |
bool |
setOpacityZero = true | ) |
|
Fade in widget.
- Parameters
-
[in] | setOpacityZero | will set opacity to 0 if this is true. Else keeps current opacity |
◆ FadeOut()
void SCR_FadeUIComponent.FadeOut |
( |
bool |
destroyOnFadeOut | ) |
|
Fade out widget.
- Parameters
-
[in] | destroyOnFadeOut | will destroy widget if fade out animation is done |
◆ GetFadeWidget()
Widget SCR_FadeUIComponent.GetFadeWidget |
( |
| ) |
|
Get Fade widget.
- Returns
- the widget to be faded
◆ GetOnFadeDone()
ScriptInvoker SCR_FadeUIComponent.GetOnFadeDone |
( |
| ) |
|
Get Fade done Script Invoker.
- Returns
- script invoker triggering when fade is done. Vars: SCR_FadeUIComponent bool isFadeIn
◆ GetTargetFadeInOpacity()
float SCR_FadeUIComponent.GetTargetFadeInOpacity |
( |
| ) |
|
- Returns
- fade in opacity target
◆ HandlerAttached()
override void SCR_FadeUIComponent.HandlerAttached |
( |
Widget |
w | ) |
|
◆ HandlerDeattached()
override void SCR_FadeUIComponent.HandlerDeattached |
( |
Widget |
w | ) |
|
◆ IsFading()
bool SCR_FadeUIComponent.IsFading |
( |
| ) |
|
- Returns
- if the widget is being faded by the this specific component
◆ IsFadingIn()
bool SCR_FadeUIComponent.IsFadingIn |
( |
| ) |
|
- Returns
- true if the currently fading and if the fade is a fade in, false otherwise
◆ IsFadingOut()
bool SCR_FadeUIComponent.IsFadingOut |
( |
| ) |
|
- Returns
- true if the currently fading and if the fade is a fade out, false otherwise
◆ SetFadeInSpeed()
void SCR_FadeUIComponent.SetFadeInSpeed |
( |
float |
fadeInSpeed | ) |
|
Set the fade in speed.
- Parameters
-
[in] | fadeInSpeed | new fade in speed |
◆ StartListenToFadeDone()
void SCR_FadeUIComponent.StartListenToFadeDone |
( |
bool |
isFadeIn | ) |
|
|
protected |
◆ Event_OnFadeDone
ref ScriptInvoker SCR_FadeUIComponent.Event_OnFadeDone |
|
protected |
◆ m_bAutoFadeIn
bool SCR_FadeUIComponent.m_bAutoFadeIn |
|
protected |
◆ m_bCheckingForFadeOutDestroy
bool SCR_FadeUIComponent.m_bCheckingForFadeOutDestroy = false |
|
protected |
◆ m_bFadeDoneUpdateSpeed
float SCR_FadeUIComponent.m_bFadeDoneUpdateSpeed |
|
protected |
◆ m_bFadeInSfxHasPriority
bool SCR_FadeUIComponent.m_bFadeInSfxHasPriority |
|
protected |
◆ m_bFadeOutSfxHasPriority
bool SCR_FadeUIComponent.m_bFadeOutSfxHasPriority |
|
protected |
◆ m_bIsFading
bool SCR_FadeUIComponent.m_bIsFading |
|
protected |
◆ m_bIsFadingIn
bool SCR_FadeUIComponent.m_bIsFadingIn |
|
protected |
◆ m_bIsWaitingForDelayedFadeIn
bool SCR_FadeUIComponent.m_bIsWaitingForDelayedFadeIn |
|
protected |
◆ m_bIsWaitingForDelayedFadeOut
bool SCR_FadeUIComponent.m_bIsWaitingForDelayedFadeOut |
|
protected |
◆ m_fFadeInAnimationSpeed
float SCR_FadeUIComponent.m_fFadeInAnimationSpeed |
|
protected |
◆ m_fFadeInOpacitytarget
float SCR_FadeUIComponent.m_fFadeInOpacitytarget |
|
protected |
◆ m_fFadeOutAnimationSpeed
float SCR_FadeUIComponent.m_fFadeOutAnimationSpeed |
|
protected |
◆ m_sFadeWidgetName
string SCR_FadeUIComponent.m_sFadeWidgetName |
|
protected |
◆ m_sOnFadeInSfx
string SCR_FadeUIComponent.m_sOnFadeInSfx |
|
protected |
◆ m_sOnFadeOutSfx
string SCR_FadeUIComponent.m_sOnFadeOutSfx |
|
protected |
◆ m_wFadeWidget
Widget SCR_FadeUIComponent.m_wFadeWidget |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Components/Animations/SCR_FadeUIComponent.c