interface, represents Video Texture interface. Subinterface of Image, also subinterface of Media.

Hierarchy

Methods

  • cast Video to Media parent interface (Media).

    Returns Media

  • Returns string

    current loaded Video file.

  • Returns number

    playback end position

  • Returns number

    current loaded Video pixels height.

  • Returns number

    current loaded Video pixels width.

  • Returns boolean

    loop playback flag

  • Returns boolean

    playback active flag.

  • Load Video file for decoding.

    Parameters

    • VideoPath: string

    Returns void

  • pause Video playback

    Returns void

  • starts Video playback

    Returns void

  • resume paused Video playback

    Returns void

  • set playback end position.

    Parameters

    • position: number

      playback end position

    Returns void

  • set playback looping.

    Parameters

    • looped: boolean

      loop playback flag

    Returns void

  • set playback start position.

    Parameters

    • position: number

      playback start position

    Returns void

  • stop Video playback

    Returns void