Constructors
constructor
- new default(startX: number, startY: number, endX: number, endY: number): default
-
Parameters
-
startX: number
-
startY: number
-
endX: number
-
endY: number
Properties
Static
EASE
Static
EASE_IN
Static
EASE_IN_OUT
Static
EASE_OUT
Static
LINEAR
Methods
clerp
- clerp(from: number, to: number, t: number): number
-
Parameters
-
from: number
-
to: number
-
t: number
Returns number
get
- get(x: number): number
-
Returns number
lerp
- lerp(from: number, to: number, t: number): number
-
Parameters
-
from: number
-
to: number
-
t: number
Returns number