Appearance
anim-format (runtime format) / SoundOptions
Interface: SoundOptions
How one play of a sound sounds. Every field is optional.
Extended by
Properties
| Property | Type | Description |
|---|---|---|
effect? | SoundEffect | default "none" |
fade? | number | fade length (s) of the fade effects; default 1 |
loops? | number | plays this many times; 0 = forever; default 1 |
trimEnd? | number | seconds into the audio where it ends; default its end |
trimStart? | number | seconds cut off the head of the audio; default 0 |
volume? | number | 0..1, default 1 |