Node: AudioClip

X3D: 3.3
Component: Sound
Status:
experimental

Quick Links

➨ Fields

An AudioClip node specifies audio data that can be referenced by Sound nodes.

HTML Encoding and Default Values

<AudioClip enabled='true' loop='false' metadata='X3DMetadataObject' url='[]' ></AudioClip>

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
enabled SFBool true Specifies whether the clip is enabled.
loop SFBool false Specifies whether the clip loops when finished.
metadata SFNode X3DMetadataObject X3DSoundSourceNode Field to add metadata information
url MFString [] The url field specifies the URL from which the sound is loaded.