Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SoundProxy

Hierarchy

  • SoundProxy

Index

Constructors

constructor

  • Parameters

    • root: any

    Returns SoundProxy

Methods

internalUpdateOngoingSounds

  • internalUpdateOngoingSounds(): void
  • Updates the list of ongoing sounds

    Returns void

play3D

  • play3D(id: any, pos: any): boolean
  • Plays a 3D sound whose volume is scaled based on where it was emitted

    Parameters

    • id: any

      Sound ID

    • pos: any

      World space position

    Returns boolean

playUi

  • playUi(id: any): void
  • Plays a new ui sound

    Parameters

    • id: any

      Sound ID

    Returns void

playUiClick

  • playUiClick(): void
  • Plays the ui click sound

    Returns void

playUiError

  • playUiError(): void
  • Plays the ui error sound

    Returns void