Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.pointingdevicesensor
Interface SphereSensor

All Superinterfaces:
X3DChildNode, X3DDragSensorNode, X3DNode, X3DPointingDeviceSensorNode, X3DSensorNode

public interface SphereSensor
extends X3DDragSensorNode

Defines the requirements of an X3D SphereSensor node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getOffset(float[] val)
          Return the offset value in the argument float[]
 void getRotation(float[] val)
          Return the rotation value in the argument float[]
 void setOffset(float[] val)
          Set the offset field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DDragSensorNode
getAutoOffset, getTrackPoint, setAutoOffset
 
Methods inherited from interface org.web3d.x3d.sai.X3DPointingDeviceSensorNode
getDescription, getIsOver, setDescription
 
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getIsActive
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getRotation

void getRotation(float[] val)
Return the rotation value in the argument float[]

Parameters:
val - The float[] to initialize.

getOffset

void getOffset(float[] val)
Return the offset value in the argument float[]

Parameters:
val - The float[] to initialize.

setOffset

void setOffset(float[] val)
Set the offset field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium