Interface TweenInterpolation

Index

Properties

Methods

Properties

public Utils: { Linear(p0: number, p1: number, t: number): number; Bernstein(n: number, i: number): number; Factorial(n: any): number; }

public Bernstein(): number

Returns

number

.i.i: number

.n.n: number

public Factorial(): number

Returns

number

.n.n: any

public Linear(): number

Returns

number

.p0.p0: number

.p1.p1: number

.t.t: number

Methods

public Bezier(v: Array<number>, k: number): number

Parameters

  • v: Array<number>
  • k: number

Returns

number

public CatmullRom(v: Array<number>, k: number): number

Parameters

  • v: Array<number>
  • k: number

Returns

number

public Linear(v: Array<number>, k: number): number

Parameters

  • v: Array<number>
  • k: number

Returns

number