public interface ProximitySensor extends X3DEnvironmentalSensorNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getCenter()
Provide array of 3-tuple float results from inputOutput SFVec3f field named center.
|
float[] |
getCenterOfRotation()
Provide array of 3-tuple float results unit axis, angle (in radians) from outputOnly SFVec3f field named centerOfRotation_changed.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
double |
getEnterTime()
Provide double value in seconds from outputOnly SFTime field named enterTime.
|
double |
getExitTime()
Provide double value in seconds from outputOnly SFTime field named exitTime.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float[] |
getOrientation()
Provide array of 4-tuple float results unit axis, angle (in radians) from outputOnly SFRotation field named orientation_changed.
|
float[] |
getPosition()
Provide array of 3-tuple float results from outputOnly SFVec3f field named position_changed.
|
float[] |
getSize()
Provide array of 3-tuple float results within allowed range of [0,infinity) from initializeOnly SFVec3f field named size.
|
ProximitySensor |
setCenter(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named center.
|
ProximitySensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ProximitySensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ProximitySensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
ProximitySensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ProximitySensor |
setSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to initializeOnly SFVec3f field named size.
|
ProximitySensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getCenter()
ProximitySensor setCenter(float[] newValue)
newValue - is new value for the center field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getCenterOfRotation()
boolean getEnabled()
getEnabled in interface X3DEnvironmentalSensorNodegetEnabled in interface X3DSensorNodeProximitySensor setEnabled(boolean newValue)
setEnabled in interface X3DEnvironmentalSensorNodesetEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getEnterTime()
double getExitTime()
boolean getIsActive()
getIsActive in interface X3DEnvironmentalSensorNodegetIsActive in interface X3DSensorNodeX3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DEnvironmentalSensorNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodeProximitySensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DEnvironmentalSensorNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getOrientation()
float[] getPosition()
float[] getSize()
getSize in interface X3DEnvironmentalSensorNodeProximitySensor setSize(float[] newValue)
setSize in interface X3DEnvironmentalSensorNodenewValue - is new value for the size field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProximitySensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DEnvironmentalSensorNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProximitySensor 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 X3DEnvironmentalSensorNodesetUSE in interface X3DNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.ProximitySensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProximitySensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DEnvironmentalSensorNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.ProximitySensor - 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.