Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AudioAsset

Hierarchy

Implements

Index

Constructors

constructor

Properties

_lastPlayedPlayer

_lastPlayedPlayer: AudioPlayer

Private _system

_system: AudioSystem

data

data: any

duration

duration: number

hint

id

id: string

loop

loop: boolean

onDestroyed

onDestroyed: Trigger<Asset>

originalPath

originalPath: string

path

path: string

Methods

Private _assetPathFilter

  • _assetPathFilter(path: string): string
  • Parameters

    • path: string

    Returns string

Private _load

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

inUse

  • inUse(): boolean
  • Returns boolean

play

stop

  • stop(): void
  • Returns void

Generated using TypeDoc