Class: X3DDragSensorNode

X3D: 3.3
Component: PointingDeviceSensor
Status:
experimental

x3dom.nodeTypes. X3DDragSensorNode

An abstract base class for all sensors that are processing drag gestures of the pointer.

HTML Encoding and Default Values

<X3DDragSensorNode autoOffset='true' enabled='true' metadata='X3DMetadataObject' ></X3DDragSensorNode>

Inheritance


Constructor

X3DDragSensorNode(ctx)

Constructor for X3DDragSensorNode

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
autoOffset SFBool true Determines whether offset values from previous drag gestures are remembered / accumulated.
enabled SFBool true X3DPointingDeviceSensorNode Specifies whether this sensor is enabled. A disabled sensor does not produce any output.
metadata SFNode X3DMetadataObject X3DPointingDeviceSensorNode Field to add metadata information