HTML Encoding and Default Values⤴
<SphereSensor
autoOffset='true'
enabled='true'
metadata='X3DMetadataObject'
offset='0,1,0,0'
></SphereSensor>
Inheritance⤴
- Core/X3DNode(19)
- Core/X3DChildNode(12)
- Core/X3DSensorNode(3)
- X3DPointingDeviceSensorNode(2)
- X3DDragSensorNode(4)
- SphereSensor
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 | X3DDragSensorNode | Determines whether offset values from previous drag gestures are remembered / accumulated. | ||
enabled | SFBool | true | Core/X3DSensorNode | Specifies whether this sensor is enabled. A disabled sensor does not produce any output. | ||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
offset | SFRotation | 0,1,0,0 | Offset value that is incorporated into the rotation output of the sensor. This value is automatically updated if the value of the autoOffset field is 'true'. |