public interface SphereSensor extends X3DDragSensorNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoOffset()
Provide boolean value from inputOutput SFBool field named autoOffset.
|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsOver()
Provide boolean value from outputOnly SFBool field named isOver.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float[] |
getOffset()
Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named offset.
|
float[] |
getRotation()
Provide array of 4-tuple float results unit axis, angle (in radians) from outputOnly SFRotation field named rotation_changed.
|
float[] |
getTrackPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named trackPoint_changed.
|
SphereSensor |
setAutoOffset(boolean newValue)
Assign boolean value to inputOutput SFBool field named autoOffset.
|
SphereSensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SphereSensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SphereSensor |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
SphereSensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
SphereSensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SphereSensor |
setOffset(float[] newValue)
Assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named offset.
|
SphereSensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getAutoOffset()
getAutoOffset in interface X3DDragSensorNodeSphereSensor setAutoOffset(boolean newValue)
setAutoOffset in interface X3DDragSensorNodenewValue - is new value for the autoOffset field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getDescription()
getDescription in interface X3DDragSensorNodegetDescription in interface X3DPointingDeviceSensorNodeSphereSensor setDescription(java.lang.String newValue)
setDescription in interface X3DDragSensorNodesetDescription in interface X3DPointingDeviceSensorNodenewValue - is new value for the description field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
getEnabled in interface X3DDragSensorNodegetEnabled in interface X3DPointingDeviceSensorNodegetEnabled in interface X3DSensorNodeSphereSensor setEnabled(boolean newValue)
setEnabled in interface X3DDragSensorNodesetEnabled in interface X3DPointingDeviceSensorNodesetEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
getIsActive in interface X3DDragSensorNodegetIsActive in interface X3DPointingDeviceSensorNodegetIsActive in interface X3DSensorNodeboolean getIsOver()
getIsOver in interface X3DDragSensorNodegetIsOver in interface X3DPointingDeviceSensorNodeX3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DDragSensorNodegetMetadata in interface X3DNodegetMetadata in interface X3DPointingDeviceSensorNodegetMetadata in interface X3DSensorNodeSphereSensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DDragSensorNodesetMetadata in interface X3DNodesetMetadata in interface X3DPointingDeviceSensorNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getOffset()
SphereSensor setOffset(float[] newValue)
newValue - is new value for the offset field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getRotation()
float[] getTrackPoint()
getTrackPoint in interface X3DDragSensorNodeSphereSensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DDragSensorNodesetDEF in interface X3DNodesetDEF in interface X3DPointingDeviceSensorNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SphereSensor setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DDragSensorNodesetUSE in interface X3DNodesetUSE in interface X3DPointingDeviceSensorNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SphereSensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DDragSensorNodesetCssClass in interface X3DNodesetCssClass in interface X3DPointingDeviceSensorNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.SphereSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.