API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSoundOptions
@codexo/exojs / audio / stable
Construction options for Sound.
8
props
0
methods
0
events
Import
import { SoundOptions } from '@codexo/exojs'Construction options for Sound.
Properties8
loop?: booleanDefault loop setting. Default: false.
muted?: booleanDefault muted state. Default: false.
playbackRate?: numberDefault playback rate. Default: 1.
poolSize?: numberpriority?: numbervolume?: numberDefault volume for voices created from this sound. Range [0, 1]. Default: 1.
Source