Skip to content

Audio

Used to add audio to a link by reproducing mp3 files. The attenuation will be done using a linear model.

Mandatory children

  • play: Used to play and stop the audio file.

    • Var: smtk_bool
    • Type: Input
    • Default: true
  • file: Audio asset GUID.

    • Var: smtk_guid
    • Type: Constant
    • Default: <empty>
  • loop: Select if the audio should start again after finished

    • Var: smtk_bool
    • Type: Input
    • Default: false
  • ref_distance: The distance at which the volume reduction starts taking effect.

    • Var: smtk_float
    • Type: Input
    • Default: 1
  • max_distance: The maximum distance between the audio source and the listener.

    • Var: smtk_float
    • Type: Input
    • Default: 20