![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | AnimatedGridSpacerEasingType { EASE_LINEAR , EASE_IN_OUT_CUBIC , EASE_IN_OUT_QUART , EASE_OUT_BOUNCE , EASE_OUT_BACK } |
Functions | |
| void | AnimatedGridSpacer (Widget gridSpacer, int maxColums, float animDuration=0.25, AnimatedGridSpacerEasingType easing=AnimatedGridSpacerEasingType.EASE_IN_OUT_CUBIC) |
| void | AnimateToColum (int targetColumn) |
| float | ApplyEasing (float t) |
| int | GetCurrentRow () |
| bool | IsAnimating () |
| void | MoveLeft () |
| void | MoveRight () |
| void | SetAnimationDuration (float duration) |
| void | SetColumWidth () |
| void | SetEasingType (AnimatedGridSpacerEasingType easing) |
| void | Update (float timeslice) |
| Enumerator | |
|---|---|
| EASE_LINEAR | |
| EASE_IN_OUT_CUBIC | |
| EASE_IN_OUT_QUART | |
| EASE_OUT_BOUNCE | |
| EASE_OUT_BACK | |
Definition at line 2 of file animatedgridspacer.c.
| void AnimatedGridSpacer | ( | Widget | gridSpacer, |
| int | maxColums, | ||
| float | animDuration = 0.25, | ||
| AnimatedGridSpacerEasingType | easing = AnimatedGridSpacerEasingType.EASE_IN_OUT_CUBIC ) |
Definition at line 31 of file animatedgridspacer.c.
References m_AnimationDuration, m_BasePosX, m_BasePosY, m_CurrentPosX, m_CurrentPosY, m_EasingType, m_GridSpacer, m_MaxColums, m_OnAnimationComplete, and SetColumWidth().
Referenced by UpdateCarouselInfo().
| void AnimateToColum | ( | int | targetColumn | ) |
Definition at line 93 of file animatedgridspacer.c.
References m_AnimationTime, m_BasePosX, m_ColumWidth, m_CurrentColum, m_CurrentPosX, m_IsAnimating, m_StartPosX, and m_TargetPosX.
Referenced by MoveLeft(), and MoveRight().
Definition at line 65 of file animatedgridspacer.c.
References Easing::EaseInOutCubic(), Easing::EaseInOutQuad(), Easing::EaseOutBack(), Easing::EaseOutBounce(), and m_EasingType.
Referenced by Update().
| int GetCurrentRow | ( | ) |
Definition at line 174 of file animatedgridspacer.c.
References m_CurrentColum.
| bool IsAnimating | ( | ) |
Definition at line 169 of file animatedgridspacer.c.
References m_IsAnimating.
| void MoveLeft | ( | ) |
Definition at line 120 of file animatedgridspacer.c.
References AnimateToColum(), m_CurrentColum, and m_IsAnimating.
| void MoveRight | ( | ) |
Definition at line 108 of file animatedgridspacer.c.
References AnimateToColum(), m_CurrentColum, m_IsAnimating, and m_MaxColums.
| void SetAnimationDuration | ( | float | duration | ) |
Definition at line 159 of file animatedgridspacer.c.
References m_AnimationDuration.
| void SetColumWidth | ( | ) |
Definition at line 51 of file animatedgridspacer.c.
References m_ColumWidth, and m_GridSpacer.
Referenced by AnimatedGridSpacer().
| void SetEasingType | ( | AnimatedGridSpacerEasingType | easing | ) |
Definition at line 164 of file animatedgridspacer.c.
References m_EasingType.
| override void Update | ( | float | timeslice = 0 | ) |
Definition at line 132 of file animatedgridspacer.c.
References ApplyEasing(), m_AnimationDuration, m_AnimationTime, m_CurrentPosX, m_CurrentPosY, m_GridSpacer, m_IsAnimating, m_OnAnimationComplete, m_StartPosX, and m_TargetPosX.
| float m_AnimationDuration = 0.25 |
Definition at line 16 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), SetAnimationDuration(), and Update().
| float m_AnimationTime = 0 |
Definition at line 17 of file animatedgridspacer.c.
Referenced by AnimateToColum(), and Update().
| float m_BasePosX |
Definition at line 20 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), and AnimateToColum().
| float m_BasePosY |
Definition at line 20 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer().
| float m_ColumWidth = 0 |
Definition at line 14 of file animatedgridspacer.c.
Referenced by AnimateToColum(), and SetColumWidth().
| int m_CurrentColum = 0 |
Definition at line 24 of file animatedgridspacer.c.
Referenced by AnimateToColum(), GetCurrentRow(), MoveLeft(), and MoveRight().
| float m_CurrentPosX |
Definition at line 19 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), AnimateToColum(), and Update().
| float m_CurrentPosY |
Definition at line 19 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), and Update().
Definition at line 27 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), ApplyEasing(), and SetEasingType().
| enum AnimatedGridSpacerEasingType m_GridSpacer |
Referenced by AnimatedGridSpacer(), NewsCarousel(), SetColumWidth(), Update(), and UpdateCarouselInfo().
| bool m_IsAnimating = false |
Definition at line 23 of file animatedgridspacer.c.
Referenced by AnimateToColum(), IsAnimating(), MoveLeft(), MoveRight(), and Update().
| int m_MaxColums = 3 |
Definition at line 25 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), and MoveRight().
| ref ScriptInvoker m_OnAnimationComplete |
Definition at line 29 of file animatedgridspacer.c.
Referenced by AnimatedGridSpacer(), and Update().
| float m_StartPosX |
Definition at line 21 of file animatedgridspacer.c.
Referenced by AnimateToColum(), and Update().
| float m_TargetPosX |
Definition at line 21 of file animatedgridspacer.c.
Referenced by AnimateToColum(), and Update().