Static class with useful easer functions that can be used by Tweens. Initial creation by Reimnop.
More...
|
|
static EaseFunction | GetEaseFunction (string name) |
| |
|
static Func< float, float > | ToAndFro (EaseFunction easer) |
| | Ease a value to its target and then back. Use this to wrap another easing function.
|
| |
|
static float | ToAndFro (float t) |
| | Ease a value to its target and then back.
|
| |
| static float | Linear (float t) |
| | Linear.
|
| |
| static float | Instant (float t) |
| | Instant.
|
| |
| static float | SineIn (float t) |
| | Sine in.
|
| |
| static float | SineOut (float t) |
| | Sine out.
|
| |
| static float | SineInOut (float t) |
| | Sine in and out.
|
| |
| static float | ElasticIn (float t) |
| | Elastic in.
|
| |
| static float | ElasticOut (float t) |
| | Elastic out.
|
| |
| static float | ElasticInOut (float t) |
| | Elastic in and out.
|
| |
| static float | BackIn (float t) |
| | Back in.
|
| |
| static float | BackOut (float t) |
| | Back out.
|
| |
| static float | BackInOut (float t) |
| | Back in and out.
|
| |
| static float | BounceIn (float t) |
| | Bounce in.
|
| |
| static float | BounceOut (float t) |
| | Bounce out.
|
| |
| static float | BounceInOut (float t) |
| | Bounce in and out.
|
| |
| static float | QuadIn (float t) |
| | Quadratic in.
|
| |
| static float | QuadOut (float t) |
| | Quadratic out.
|
| |
| static float | QuadInOut (float t) |
| | Quadratic in and out.
|
| |
| static float | CircIn (float t) |
| | Circle in.
|
| |
| static float | CircOut (float t) |
| | Circle out.
|
| |
| static float | CircInOut (float t) |
| | Circle in and out.
|
| |
| static float | ExpoIn (float t) |
| | Exponential in.
|
| |
| static float | ExpoOut (float t) |
| | Exponential out.
|
| |
| static float | ExpoInOut (float t) |
| | Exponential in and out.
|
| |
|
| static readonly Dictionary< string, EaseFunction > | EaseLookup |
| |
|
const float | PI = 3.14159265359f |
| |
|
const float | PI2 = PI / 2 |
| |
|
const float | B1 = 1 / 2.75f |
| |
|
const float | B2 = 2 / 2.75f |
| |
|
const float | B3 = 1.5f / 2.75f |
| |
|
const float | B4 = 2.5f / 2.75f |
| |
|
const float | B5 = 2.25f / 2.75f |
| |
|
const float | B6 = 2.625f / 2.75f |
| |
Static class with useful easer functions that can be used by Tweens. Initial creation by Reimnop.
◆ BackIn()
| static float VGEase.BackIn |
( |
float | t | ) |
|
|
static |
Back in.
- Parameters
-
- Returns
- Eased timescale.
◆ BackInOut()
| static float VGEase.BackInOut |
( |
float | t | ) |
|
|
static |
Back in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ BackOut()
| static float VGEase.BackOut |
( |
float | t | ) |
|
|
static |
Back out.
- Parameters
-
- Returns
- Eased timescale.
◆ BounceIn()
| static float VGEase.BounceIn |
( |
float | t | ) |
|
|
static |
Bounce in.
- Parameters
-
- Returns
- Eased timescale.
◆ BounceInOut()
| static float VGEase.BounceInOut |
( |
float | t | ) |
|
|
static |
Bounce in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ BounceOut()
| static float VGEase.BounceOut |
( |
float | t | ) |
|
|
static |
Bounce out.
- Parameters
-
- Returns
- Eased timescale.
◆ CircIn()
| static float VGEase.CircIn |
( |
float | t | ) |
|
|
static |
Circle in.
- Parameters
-
- Returns
- Eased timescale.
◆ CircInOut()
| static float VGEase.CircInOut |
( |
float | t | ) |
|
|
static |
Circle in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ CircOut()
| static float VGEase.CircOut |
( |
float | t | ) |
|
|
static |
Circle out.
- Parameters
-
- Returns
- Eased timescale.
◆ ElasticIn()
| static float VGEase.ElasticIn |
( |
float | t | ) |
|
|
static |
Elastic in.
- Parameters
-
- Returns
- Eased timescale.
◆ ElasticInOut()
| static float VGEase.ElasticInOut |
( |
float | t | ) |
|
|
static |
Elastic in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ ElasticOut()
| static float VGEase.ElasticOut |
( |
float | t | ) |
|
|
static |
Elastic out.
- Parameters
-
- Returns
- Eased timescale.
◆ ExpoIn()
| static float VGEase.ExpoIn |
( |
float | t | ) |
|
|
static |
Exponential in.
- Parameters
-
- Returns
- Eased timescale.
◆ ExpoInOut()
| static float VGEase.ExpoInOut |
( |
float | t | ) |
|
|
static |
Exponential in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ ExpoOut()
| static float VGEase.ExpoOut |
( |
float | t | ) |
|
|
static |
Exponential out.
- Parameters
-
- Returns
- Eased timescale.
◆ Instant()
| static float VGEase.Instant |
( |
float | t | ) |
|
|
static |
Instant.
- Parameters
-
- Returns
- Eased timescale.
◆ Linear()
| static float VGEase.Linear |
( |
float | t | ) |
|
|
static |
Linear.
- Parameters
-
- Returns
- Eased timescale.
◆ QuadIn()
| static float VGEase.QuadIn |
( |
float | t | ) |
|
|
static |
Quadratic in.
- Parameters
-
- Returns
- Eased timescale.
◆ QuadInOut()
| static float VGEase.QuadInOut |
( |
float | t | ) |
|
|
static |
Quadratic in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ QuadOut()
| static float VGEase.QuadOut |
( |
float | t | ) |
|
|
static |
Quadratic out.
- Parameters
-
- Returns
- Eased timescale.
◆ SineIn()
| static float VGEase.SineIn |
( |
float | t | ) |
|
|
static |
Sine in.
- Parameters
-
- Returns
- Eased timescale.
◆ SineInOut()
| static float VGEase.SineInOut |
( |
float | t | ) |
|
|
static |
Sine in and out.
- Parameters
-
- Returns
- Eased timescale.
◆ SineOut()
| static float VGEase.SineOut |
( |
float | t | ) |
|
|
static |
Sine out.
- Parameters
-
- Returns
- Eased timescale.
◆ EaseLookup
| readonly Dictionary<string, EaseFunction> VGEase.EaseLookup |
|
staticprivate |
Initial value:= new Dictionary<string, EaseFunction>()
{
}
static float SineIn(float t)
Sine in.
Definition VGEase.cs:96
static float SineInOut(float t)
Sine in and out.
Definition VGEase.cs:117
static float CircIn(float t)
Circle in.
Definition VGEase.cs:296
static float ExpoOut(float t)
Exponential out.
Definition VGEase.cs:340
static float ElasticOut(float t)
Elastic out.
Definition VGEase.cs:141
static float Linear(float t)
Linear.
static float CircOut(float t)
Circle out.
Definition VGEase.cs:306
static float ExpoInOut(float t)
Exponential in and out.
Definition VGEase.cs:351
static float QuadOut(float t)
Quadratic out.
Definition VGEase.cs:272
static float QuadIn(float t)
Quadratic in.
Definition VGEase.cs:262
static float ExpoIn(float t)
Exponential in.
Definition VGEase.cs:330
static float BackIn(float t)
Back in.
Definition VGEase.cs:171
static float BackOut(float t)
Back out.
Definition VGEase.cs:181
static float BounceIn(float t)
Bounce in.
Definition VGEase.cs:208
static float BounceInOut(float t)
Bounce in and out.
Definition VGEase.cs:235
static float QuadInOut(float t)
Quadratic in and out.
Definition VGEase.cs:282
static float CircInOut(float t)
Circle in and out.
Definition VGEase.cs:316
static float SineOut(float t)
Sine out.
Definition VGEase.cs:107
static float Instant(float t)
Instant.
Definition VGEase.cs:84
static float ElasticIn(float t)
Elastic in.
Definition VGEase.cs:131
static float BounceOut(float t)
Bounce out.
Definition VGEase.cs:222
static float BackInOut(float t)
Back in and out.
Definition VGEase.cs:191
static float ElasticInOut(float t)
Elastic in and out.
Definition VGEase.cs:152
The documentation for this class was generated from the following file:
- C:/Users/Pidge/Documents/gamedev/core_project_arrhythmia/Assets/Scripts/Managers/VGEase.cs