public interface X3DLightNode extends X3DChildNode
| Modifier and Type | Method and Description |
|---|---|
float |
getAmbientIntensity()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named ambientIntensity.
|
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.
|
float |
getIntensity()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named intensity.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
boolean |
getOn()
Provide boolean value from inputOutput SFBool field named on.
|
X3DLightNode |
setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
X3DLightNode |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
X3DLightNode |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
X3DLightNode |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
X3DLightNode |
setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
X3DLightNode |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
X3DLightNode |
setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
X3DLightNode |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float getAmbientIntensity()
X3DLightNode setAmbientIntensity(float newValue)
newValue - is new value for the ambientIntensity field.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getColor()
X3DLightNode setColor(float[] newValue)
newValue - is new value for the color field.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getIntensity()
X3DLightNode setIntensity(float newValue)
newValue - is new value for the intensity field.X3DLightNode - 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 X3DNodeX3DLightNode setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getOn()
X3DLightNode setOn(boolean newValue)
newValue - is new value for the on field.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DLightNode setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DLightNode 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.X3DLightNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DLightNode setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.X3DLightNode - 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.