Mobile Widgets

Mobile Widgets

AudioClip node


Interface


Description

Similar to ImageTexture (or MovieTexture) with an audio file. But geometry field is not required (AudioClip display nothing).


Fields

MFString url []:
Multiple item urls can be defined, but only the first one is loaded.
Items url can be of one of the following types:

  • Filename of an audio file (eg simple.mp3). The file will be included in the M4M file and immediately available on scene load.
  • An url to an audio file on the mobile filesystem (eg file://c/file.mp3).
  • An HTTP url (eg http://server/file.mp3) to download the file each time the scene is loaded.
  • A cache url followed by a source url (eg cache://file.mpg,http://server/file.mp3). File will be downloaded the first time from the source url and loaded from cache for later access.

SFTime startTime: Start time

SFTime stopTime: Stop time


Example