Interface X3DDragSensorNode
- All Superinterfaces:
X3DChildNode,X3DNode,X3DPointingDeviceSensorNode,X3DSensorNode
- All Known Subinterfaces:
CylinderSensor,PlaneSensor,SphereSensor
- All Known Implementing Classes:
CylinderSensor,PlaneSensor,SphereSensor
Base type for all drag-style pointing device sensors.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanProvide boolean value from inputOutput SFBool field named autoOffset.Provide String value from inputOutput SFString field named description.booleanProvide boolean value from inputOutput SFBool field named enabled.booleanProvide boolean value from outputOnly SFBool field named isActive.booleanProvide boolean value from outputOnly SFBool field named isOver.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float[]Provide array of 3-tuple float results from outputOnly SFVec3f field named trackPoint_changed.setAutoOffset(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named autoOffset.setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setEnabled(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named enabled.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getAutoOffset
boolean getAutoOffset()Provide boolean value from inputOutput SFBool field named autoOffset.- Returns:
- value of autoOffset field
-
setAutoOffset
Accessor method to assign boolean value to inputOutput SFBool field named autoOffset.- Parameters:
newValue- is new value for the autoOffset field.- Returns:
X3DDragSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.- Specified by:
getDescriptionin interfaceX3DPointingDeviceSensorNode- Specified by:
getDescriptionin interfaceX3DSensorNode- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.- Specified by:
setDescriptionin interfaceX3DPointingDeviceSensorNode- Specified by:
setDescriptionin interfaceX3DSensorNode- Parameters:
newValue- is new value for the description field.- Returns:
X3DDragSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getEnabled
boolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.- Specified by:
getEnabledin interfaceX3DPointingDeviceSensorNode- Specified by:
getEnabledin interfaceX3DSensorNode- Returns:
- value of enabled field
-
setEnabled
Accessor method to assign boolean value to inputOutput SFBool field named enabled.- Specified by:
setEnabledin interfaceX3DPointingDeviceSensorNode- Specified by:
setEnabledin interfaceX3DSensorNode- Parameters:
newValue- is new value for the enabled field.- Returns:
X3DDragSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsActive
boolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.- Specified by:
getIsActivein interfaceX3DPointingDeviceSensorNode- Specified by:
getIsActivein interfaceX3DSensorNode- Returns:
- value of isActive field
-
getIsOver
boolean getIsOver()Provide boolean value from outputOnly SFBool field named isOver.- Specified by:
getIsOverin interfaceX3DPointingDeviceSensorNode- Returns:
- value of isOver field
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DPointingDeviceSensorNode- Specified by:
getMetadatain interfaceX3DSensorNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DPointingDeviceSensorNode- Specified by:
setMetadatain interfaceX3DSensorNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DDragSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getTrackPoint
float[] getTrackPoint()Provide array of 3-tuple float results from outputOnly SFVec3f field named trackPoint_changed.- Returns:
- value of trackPoint_changed field
-