Class: X3DSensorNode

X3D: 3.3
Component: Core
Status:
experimental

.nodeTypes. X3DSensorNode

This abstract node type is the base type for all sensors.

HTML Encoding and Default Values

<X3DSensorNode enabled='true' metadata='X3DMetadataObject' ></X3DSensorNode>

Inheritance


Constructor

X3DSensorNode(ctx)

Constructor for X3DSensorNode

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
enabled SFBool true Specifies whether this sensor is enabled. A disabled sensor does not produce any output.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information