Arma Reforger Script API
|
Public Member Functions | |
override void | SetSpeed (float speed) |
override bool | OnUpdate (float timeSlice) |
void | SCR_InputButtonAlphaMaskAnimation (Widget w, float speed, float targetValue, bool resetOnComplete) |
Public Member Functions inherited from WidgetAnimationAlphaMask | |
void | WidgetAnimationAlphaMask (Widget w, float speed, float targetValue) |
Public Member Functions inherited from WidgetAnimationBase | |
float | GetProgressValue (float t) |
void | SetRepeat (bool repeat) |
bool | IsRepeating () |
void | Stop () |
float | GetValue () |
ScriptInvoker | GetOnStopped () |
ScriptInvoker | GetOnCompleted () |
ScriptInvoker | GetOnCycleCompleted () |
void | SetCurve (EAnimationCurve curve) |
void | SetDelay (float delay) |
float | GetDelay () |
void | SetSpeed (float speed) |
float | GetSpeed () |
Widget | GetWidget () |
bool | OnUpdate (float timeSlice) |
void | WidgetAnimationBase (Widget w, float speed) |
Protected Member Functions | |
void | OnAnimationComplete () |
Protected Member Functions inherited from WidgetAnimationAlphaMask | |
override void | ReverseDirection () |
override void | Animate (bool finished) |
void | ReverseDirection () |
void | Animate (bool finished) |
Protected Attributes | |
SCR_InputButtonDisplay | m_InputButtonDisplay |
ImageWidget | m_wOutline |
float | m_fAnimationRate |
bool | m_bResetOnComplete |
Protected Attributes inherited from WidgetAnimationAlphaMask | |
float | m_fValueDefault |
float | m_fValueTarget |
float | m_fValueCurrent |
ImageWidget | m_wImage |
Protected Attributes inherited from WidgetAnimationBase | |
bool | m_bRepeat |
float | m_fSpeed |
float | m_fCurrentProgress |
float | m_fValue |
Widget | m_wWidget |
EAnimationCurve | m_eCurve |
ref ScriptInvoker | m_OnStopped |
ref ScriptInvoker | m_OnCompleted |
ref ScriptInvoker | m_OnCycleCompleted |
Additional Inherited Members | |
Static Protected Attributes inherited from WidgetAnimationBase | |
static const float | C1 = 1.70158 |
static const float | C2 = C1 * 1.525 |
static const float | C3 = C1 + 1 |
static const float | C4 = (2 * Math.PI) / 3 |
static const float | C5 = (2 * Math.PI) / 4.5 |
static const float | N1 = 7.5625 |
static const float | D1 = 2.75 |
void SCR_InputButtonAlphaMaskAnimation.SCR_InputButtonAlphaMaskAnimation | ( | Widget | w, |
float | speed, | ||
float | targetValue, | ||
bool | resetOnComplete | ||
) |
|
protected |
Wait for the animation to complete + 1 frame before setting the color back to default
override bool SCR_InputButtonAlphaMaskAnimation.OnUpdate | ( | float | timeSlice | ) |
Implements WidgetAnimationBase.
override void SCR_InputButtonAlphaMaskAnimation.SetSpeed | ( | float | speed | ) |
Implements WidgetAnimationBase.
|
protected |
|
protected |
|
protected |
|
protected |