Options
All
  • Public
  • Public/Protected
  • All
Menu

Static class for screen fading

Hierarchy

  • Fading

Index

Constructors

constructor

Accessors

Static IsFadedIn

  • get IsFadedIn(): boolean
  • Gets whether the screen is faded in

    Returns boolean

    True or false

Static IsFadedOut

  • get IsFadedOut(): boolean
  • Gets whether the screen is faded out

    Returns boolean

    True or false

Static IsFadingIn

  • get IsFadingIn(): boolean
  • Gets whether the screen is currently fading in

    Returns boolean

    True or false

Static IsFadingOut

  • get IsFadingOut(): boolean
  • Gets whether the screen is currently fading out

    Returns boolean

    True or false

Methods

Static fadeIn

  • fadeIn(duration: number): Promise<void>
  • Fade in the screen for a certain duration.

    Parameters

    • duration: number

      Time to fade in

    Returns Promise<void>

Static fadeOut

  • fadeOut(duration: number): Promise<void>
  • Fade out the screen for a certain duration.

    Parameters

    • duration: number

      Time to fade out

    Returns Promise<void>

Generated using TypeDoc