Class SAIFog
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.environmentaleffects.SAIFog
- All Implemented Interfaces:
Fog
,X3DBindableNode
,X3DChildNode
,X3DFogObject
,X3DNode
A concrete implementation of the Fog node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIFog
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondouble
Return the bindTime double value.void
getColor
(float[] val) Return the color value in the argument float[]Return the fogType String value.boolean
Return the isBound boolean value.float
Return the visibilityRange float value.void
setBind
(boolean val) Set the set_bind field.void
setColor
(float[] val) Set the color field.void
setFogType
(String val) Set the fogType field.void
setVisibilityRange
(float val) Set the visibilityRange field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIFog
public SAIFog(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBind
in interfaceX3DBindableNode
- Parameters:
val
- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTime
in interfaceX3DBindableNode
- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBound
in interfaceX3DBindableNode
- Returns:
- The isBound boolean value.
-
getColor
public void getColor(float[] val) Return the color value in the argument float[]- Specified by:
getColor
in interfaceX3DFogObject
- Parameters:
val
- The float[] to initialize.
-
setColor
public void setColor(float[] val) Set the color field.- Specified by:
setColor
in interfaceX3DFogObject
- Parameters:
val
- The float[] to set.
-
getFogType
Return the fogType String value.- Specified by:
getFogType
in interfaceX3DFogObject
- Returns:
- The fogType String value.
-
setFogType
Set the fogType field.- Specified by:
setFogType
in interfaceX3DFogObject
- Parameters:
val
- The String to set.
-
getVisibilityRange
public float getVisibilityRange()Return the visibilityRange float value.- Specified by:
getVisibilityRange
in interfaceX3DFogObject
- Returns:
- The visibilityRange float value.
-
setVisibilityRange
public void setVisibilityRange(float val) Set the visibilityRange field.- Specified by:
setVisibilityRange
in interfaceX3DFogObject
- Parameters:
val
- The float to set.
-