Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.environmentalsensor
Interface ProximitySensor

All Superinterfaces:
X3DChildNode, X3DEnvironmentalSensorNode, X3DNode, X3DSensorNode

public interface ProximitySensor
extends X3DEnvironmentalSensorNode

Defines the requirements of an X3D ProximitySensor node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void 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.X3DSensorNode
getEnabled, getIsActive, setEnabled
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium