Interface ProximitySensor
- All Superinterfaces:
X3DChildNode
,X3DEnvironmentalSensorNode
,X3DNode
,X3DSensorNode
- All Known Implementing Classes:
SAIProximitySensor
,SAIProximitySensor
Defines the requirements of an X3D ProximitySensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getCenterOfRotation
(float[] val) Return the centerOfRotation value in the argument float[]void
getOrientation
(float[] val) Return the orientation value in the argument float[]void
getPosition
(float[] val) Return the position value in the argument float[]Methods inherited from interface org.web3d.x3d.sai.X3DEnvironmentalSensorNode
getCenter, getEnterTime, getExitTime, getSize, setCenter, setSize
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getPosition
void getPosition(float[] val) Return the position value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getOrientation
void getOrientation(float[] val) Return the orientation value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getCenterOfRotation
void getCenterOfRotation(float[] val) Return the centerOfRotation value in the argument float[]- Parameters:
val
- The float[] to initialize.
-