Class: Field

X3DOM
Component: Core

.nodeTypes. Field

Class represents a field of a node containing name, type and value

HTML Encoding and Default Values

<Field metadata='X3DMetadataObject' name='""' type='""' value='""' ></Field>

Inheritance


Constructor

Field(ctx)

Constructor for Field

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
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
name SFString ""
type SFString ""
value SFString ""