Skip to main content

Class: ValueEaseAndTween

Default/Physics/Math/EaseAndTween.ValueEaseAndTween

Constructors

constructor

new ValueEaseAndTween(data): ValueEaseAndTween

Parameters

NameType
dataObject
data.endnumber
data.functionEaseFunction
data.maxnumber
data.onDone() => void
data.onUpdate(percent: number) => void
data.startnumber

Returns

ValueEaseAndTween

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

NameType
endnumber
functionEaseFunction
maxnumber
onDone() => void
onUpdate(percent: number) => void
startnumber

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

NameType
nnumber

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

NameType
valueboolean

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