Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Easing

Hierarchy

Callable

  • Easing(x: number): number
  • Parameters

    • x: number

    Returns number

Index

Properties

Readonly 0

0: 0

Readonly 1

1: 1

Readonly domain

domain: Easing

Readonly duration

duration: number

Readonly easing

easing: Easing

Readonly range

Readonly type

type: string

Methods

canEqual

  • canEqual(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

contains

  • contains(t: number): boolean
  • Parameters

    • t: number

    Returns boolean

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

overRange

  • Type parameters

    • Y

    Parameters

    Returns Tweening<Y>

  • Type parameters

    • Y

    Parameters

    • y0: Y
    • y1: Y

    Returns Tweening<Y>

toString

  • toString(): string
  • Returns string

withDomain

  • withDomain(t0: number, t1: number): Timing
  • Parameters

    • t0: number
    • t1: number

    Returns Timing

withDuration

  • withDuration(dt: number): Timing
  • Parameters

    • dt: number

    Returns Timing

Generated using TypeDoc