MetadataDouble contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata node may be provided by a single child Metadata node with containerField="metadata".
The MetadataDouble node belongs to the Core component and its container field is metadata. It is available since X3D version 3.0 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFString [in, out] name ""
Depending on the metadata vocabulary, the attribute name is usually required for metadata nodes.
Name is not included if this instance is a USE node.
SFString [in, out] reference ""
Reference to the metadata standard or definition defining this particular metadata value.
MFDouble [in, out] value [ ]
The value attribute is a strictly typed data array providing relevant metadata information.
Many XML tools substitute XML character references automatically if needed (such as & for & ampersand, or " for " quotation mark).
- Use containerField="value" if the parent node is MetadataSet.
- If a metadata node is needed as a top-level root node for the scene, first insert a parent WorldInfo (or WorldInfo/MetadataSet) to contain it.
- An IS statement precedes any sibling Metadata node, which in turn precedes any other sibling nodes.
- The choice of MetadataDouble versus MetadataFloat usually depends on the relevant tool utilizing the value, or else the relevant metadata reference defining the value.