public interface 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.
|
java.lang.String |
getFogType()
Provide String enumeration value ['LINEAR'|'EXPONENTIAL'] from inputOutput SFString field named fogType.
|
float |
getVisibilityRange()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named visibilityRange.
|
X3DFogObject |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
X3DFogObject |
setFogType(java.lang.String newValue)
Assign String enumeration value ("LINEAR"|"EXPONENTIAL") ['LINEAR'|'EXPONENTIAL'] to inputOutput SFString field named fogType.
|
X3DFogObject |
setVisibilityRange(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named visibilityRange.
|
float[] getColor()
X3DFogObject setColor(float[] newValue)
newValue - is new value for the color field.X3DFogObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getFogType()
X3DFogObject setFogType(java.lang.String newValue)
newValue - is new value for the fogType field.X3DFogObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getVisibilityRange()
X3DFogObject setVisibilityRange(float newValue)
newValue - is new value for the visibilityRange field.X3DFogObject - 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.