public interface LocalFog extends X3DChildNode, X3DFogObject
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
java.lang.String |
getFogType()
Provide String enumeration value ['LINEAR'|'EXPONENTIAL'] from inputOutput SFString field named fogType.
|
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.
|
LocalFog |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
LocalFog |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
LocalFog |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
LocalFog |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
LocalFog |
setFogType(java.lang.String newValue)
Assign String enumeration value ("LINEAR"|"EXPONENTIAL") ['LINEAR'|'EXPONENTIAL'] to inputOutput SFString field named fogType.
|
LocalFog |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
LocalFog |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
LocalFog |
setVisibilityRange(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named visibilityRange.
|
float[] getColor()
getColor in interface X3DFogObjectLocalFog setColor(float[] newValue)
setColor in interface X3DFogObjectnewValue - is new value for the color field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
LocalFog setEnabled(boolean newValue)
newValue - is new value for the enabled field.LocalFog - 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 X3DFogObjectLocalFog setFogType(java.lang.String newValue)
setFogType in interface X3DFogObjectnewValue - is new value for the fogType field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodeLocalFog setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getVisibilityRange()
getVisibilityRange in interface X3DFogObjectLocalFog setVisibilityRange(float newValue)
setVisibilityRange in interface X3DFogObjectnewValue - is new value for the visibilityRange field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LocalFog setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LocalFog 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 X3DChildNodesetUSE in interface X3DNodenewValue - is new value for the USE field.LocalFog - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LocalFog setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.LocalFog - 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.