Node: Sound

X3D: 3.3
Component: Sound
Status:
experimental

Quick Links

➨ Fields

The Sound node specifies the spatial presentation of a sound in a X3D scene.

HTML Encoding and Default Values

<Sound metadata='X3DMetadataObject' source='x3dom.nodeTypes.X3DSoundSourceNode' ></Sound>

Inheritance


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
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
source SFNode X3DSoundSourceNode The source field specifies the sound source for the Sound node. If the source field is not specified, the Sound node will not emit audio. The source field shall specify either an AudioClip node or a MovieTexture node. If a MovieTexture node is specified as the sound source, the MovieTexture shall refer to a movie format that supports sound.