Package org.web3d.x3d.sai
Interface X3DEnvironmentalSensorNode
- All Superinterfaces:
X3DChildNode,X3DNode,X3DSensorNode
- All Known Subinterfaces:
ProximitySensor,VisibilitySensor
- All Known Implementing Classes:
SAIProximitySensor,SAIProximitySensor,SAIVisibilitySensor,SAIVisibilitySensor
Defines the requirements of an X3DEnvironmentalSensorNode abstract node type
- Version:
- $Revision: 1.4 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetCenter(float[] val) Return the center value in the argument float[]doubleReturn the enterTime double value.doubleReturn the exitTime double value.voidgetSize(float[] val) Return the size value in the argument float[]voidsetCenter(float[] val) Set the center field.voidsetSize(float[] val) Set the size field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getCenter
void getCenter(float[] val) Return the center value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setCenter
void setCenter(float[] val) Set the center field.- Parameters:
val- The float[] to set.
-
getSize
void getSize(float[] val) Return the size value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setSize
void setSize(float[] val) Set the size field.- Parameters:
val- The float[] to set.
-
getEnterTime
double getEnterTime()Return the enterTime double value.- Returns:
- The enterTime double value.
-
getExitTime
double getExitTime()Return the exitTime double value.- Returns:
- The exitTime double value.
-