Class: AudioClip

X3D: 3.3
Component: Sound
Status:
experimental

.nodeTypes. AudioClip

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

HTML Encoding and Default Values

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

Inheritance


Constructor

AudioClip(ctx)

Constructor for AudioClip

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

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
description SFString "" X3DTimeDependentNode Description for intended purpose of the node.
enabled SFBool false Specifies whether the clip is enabled.
loop SFBool false Specifies whether the clip loops when finished.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
url MFString [] The url field specifies the URL from which the sound is loaded.