Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

MetadataFloat

MetadataFloat

MetadataFloat 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 MetadataFloat node belongs to the Core component and its container field is metadata. It is available since X3D version 3.0 or later.

Hierarchy

* Derived from multiple interfaces.

Fields

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.

Warning

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.

MFFloat [in, out] value [ ]

The value attribute is a strictly typed data array providing relevant metadata information.

Hint

Many XML tools substitute XML character references automatically if needed (such as & for & ampersand, or " for " quotation mark).

Description

Hints

  • 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.

Browser Compatibility

Titania X_ITE
yes yes