Options
Menu

Interface ISoundDefinition

A sound definition used to initialize a Sound file.

Hierarchy

  • ISoundDefinition

Index

Properties

filename

filename: string

Name of the sound file.

Optional maxDuration

maxDuration: undefined | number

The amount of time this sound file should play before being stopped automatically.

Optional shouldLoop

shouldLoop: undefined | false | true

Whether or not this sound should loop after playthrough finishes.

Generated using TypeDoc