Class SAIFogCoordinate
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.environmentaleffects.SAIFogCoordinate
- All Implemented Interfaces:
FogCoordinate,X3DGeometricPropertyNode,X3DNode
A concrete implementation of the FogCoordinate node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIFogCoordinate(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIFogCoordinate
public SAIFogCoordinate(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumDepth
public int getNumDepth()Return the number of MFFloat items in the depth field.- Specified by:
getNumDepthin interfaceFogCoordinate- Returns:
- the number of MFFloat items in the depth field.
-
getDepth
public void getDepth(float[] val) Return the depth value in the argument float[]- Specified by:
getDepthin interfaceFogCoordinate- Parameters:
val- The float[] to initialize.
-
setDepth
public void setDepth(float[] val) Set the depth field.- Specified by:
setDepthin interfaceFogCoordinate- Parameters:
val- The float[] to set.
-