public interface Fog extends X3DBindableNode, X3DFogObject
| Modifier and Type | Method and Description |
|---|---|
double |
getBindTime()
Provide double value in seconds from outputOnly SFTime field named bindTime.
|
float[] |
getColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named color.
|
java.lang.String |
getFogType()
Provide String enumeration value ['LINEAR'|'EXPONENTIAL'] from inputOutput SFString field named fogType.
|
boolean |
getIsBound()
Provide boolean value from outputOnly SFBool field named isBound.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getVisibilityRange()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named visibilityRange.
|
Fog |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
Fog |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Fog |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Fog |
setFogType(java.lang.String newValue)
Assign String enumeration value ("LINEAR"|"EXPONENTIAL") ['LINEAR'|'EXPONENTIAL'] to inputOutput SFString field named fogType.
|
Fog |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Fog |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
Fog |
setVisibilityRange(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named visibilityRange.
|
double getBindTime()
getBindTime in interface X3DBindableNodefloat[] getColor()
getColor in interface X3DFogObjectFog setColor(float[] newValue)
setColor in interface X3DFogObjectnewValue - is new value for the color field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getFogType()
getFogType in interface X3DFogObjectFog setFogType(java.lang.String newValue)
setFogType in interface X3DFogObjectnewValue - is new value for the fogType field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsBound()
getIsBound in interface X3DBindableNodeX3DMetadataObject getMetadata()
getMetadata in interface X3DBindableNodegetMetadata in interface X3DChildNodegetMetadata in interface X3DNodeFog setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DBindableNodesetMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getVisibilityRange()
getVisibilityRange in interface X3DFogObjectFog setVisibilityRange(float newValue)
setVisibilityRange in interface X3DFogObjectnewValue - is new value for the visibilityRange field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Fog setDEF(java.lang.String newValue)
setDEF in interface X3DBindableNodesetDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Fog setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DBindableNodesetUSE in interface X3DChildNodesetUSE in interface X3DNodenewValue - is new value for the USE field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Fog setCssClass(java.lang.String newValue)
setCssClass in interface X3DBindableNodesetCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.Fog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.