Class: ValueEaseAndTween
Default/Physics/Math/EaseAndTween.ValueEaseAndTween
Constructors
constructor
• new ValueEaseAndTween(data): ValueEaseAndTween
Parameters
| Name | Type |
|---|---|
data | Object |
data.end | number |
data.function | EaseFunction |
data.max | number |
data.onDone | () => void |
data.onUpdate | (percent: number) => void |
data.start | number |
Returns
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:198
Properties
_alive
• _alive: boolean = true
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:193
_change
• _change: number = 0
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:195
_count
• _count: number = 0
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:192
_func
• _func: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:196
_start
• _start: number = 0
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:194
data
• data: Object
Type declaration
| Name | Type |
|---|---|
end | number |
function | EaseFunction |
max | number |
onDone | () => void |
onUpdate | (percent: number) => void |
start | number |
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:199
EaseInBack
▪ Static EaseInBack: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:161
EaseInCirc
▪ Static EaseInCirc: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:49
EaseInCubic
▪ Static EaseInCubic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:60
EaseInElastic
▪ Static EaseInElastic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:94
EaseInExpo
▪ Static EaseInExpo: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:32
EaseInOutBack
▪ Static EaseInOutBack: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:176
EaseInOutCirc
▪ Static EaseInOutCirc: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:55
EaseInOutCubic
▪ Static EaseInOutCubic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:66
EaseInOutElastic
▪ Static EaseInOutElastic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:132
EaseInOutExpo
▪ Static EaseInOutExpo: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:42
EaseInOutQuad
▪ Static EaseInOutQuad: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:18
EaseInOutQuart
▪ Static EaseInOutQuart: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:77
EaseInOutQuint
▪ Static EaseInOutQuint: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:89
EaseInOutSine
▪ Static EaseInOutSine: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:29
EaseInQuad
▪ Static EaseInQuad: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:9
EaseInQuart
▪ Static EaseInQuart: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:71
EaseInQuint
▪ Static EaseInQuint: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:82
EaseInSine
▪ Static EaseInSine: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:23
EaseLinear
▪ Static EaseLinear: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:12
EaseOutBack
▪ Static EaseOutBack: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:168
EaseOutCirc
▪ Static EaseOutCirc: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:52
EaseOutCubic
▪ Static EaseOutCubic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:63
EaseOutElastic
▪ Static EaseOutElastic: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:113
EaseOutExpo
▪ Static EaseOutExpo: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:37
EaseOutQuad
▪ Static EaseOutQuad: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:15
EaseOutQuart
▪ Static EaseOutQuart: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:74
EaseOutQuint
▪ Static EaseOutQuint: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:85
EaseOutSine
▪ Static EaseOutSine: EaseFunction
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:26
s
▪ Static s: number = 1.70158
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:160
Methods
getInterval
▸ getInterval(n): number
Parameters
| Name | Type |
|---|---|
n | number |
Returns
number
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:233
isAlive
▸ isAlive(): boolean
Returns
boolean
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:230
setAlive
▸ setAlive(value): void
Parameters
| Name | Type |
|---|---|
value | boolean |
Returns
void
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:226
update
▸ update(): void
Returns
void
Defined in
divinevoxel/foundation/src/Default/Physics/Math/EaseAndTween.ts:213