Contents

audio

The location of an audio file.

Overview

The default value is blank. Each instance of AudioAction must supply its own value for this property and an accompanying music file by the same name within the asset.

Declaration

uniform asset audio

Define an Audio File

The following line shows how to define a path to an audio file named backgroundMusic.m4a:

uniform asset audio = @backgroundMusic.m4a@

See Also

Properties