public interface PointLight extends X3DLightNode
| Modifier and Type | Method and Description |
|---|---|
float |
getAmbientIntensity()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named ambientIntensity.
|
float[] |
getAttenuation()
Provide array of 3-tuple float results within allowed range of [0,infinity) from inputOutput SFVec3f field named attenuation.
|
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 |
getGlobal()
Provide boolean value from inputOutput SFBool field named global.
|
float |
getIntensity()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named intensity.
|
float[] |
getLocation()
Provide array of 3-tuple float results from inputOutput SFVec3f field named location.
|
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.
|
float |
getRadius()
Provide float value within allowed range of [0,infinity) from initializeOnly SFFloat field named radius.
|
PointLight |
setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
PointLight |
setAttenuation(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to inputOutput SFVec3f field named attenuation.
|
PointLight |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
PointLight |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
PointLight |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
PointLight |
setGlobal(boolean newValue)
Assign boolean value to inputOutput SFBool field named global.
|
PointLight |
setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
PointLight |
setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
PointLight |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
PointLight |
setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
PointLight |
setRadius(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named radius.
|
PointLight |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float getAmbientIntensity()
getAmbientIntensity in interface X3DLightNodePointLight setAmbientIntensity(float newValue)
setAmbientIntensity in interface X3DLightNodenewValue - is new value for the ambientIntensity field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getAttenuation()
PointLight setAttenuation(float[] newValue)
newValue - is new value for the attenuation field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getColor()
getColor in interface X3DLightNodePointLight setColor(float[] newValue)
setColor in interface X3DLightNodenewValue - is new value for the color field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getGlobal()
PointLight setGlobal(boolean newValue)
newValue - is new value for the global field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getIntensity()
getIntensity in interface X3DLightNodePointLight setIntensity(float newValue)
setIntensity in interface X3DLightNodenewValue - is new value for the intensity field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getLocation()
PointLight setLocation(float[] newValue)
newValue - is new value for the location field.PointLight - 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 X3DLightNodegetMetadata in interface X3DNodePointLight setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DLightNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getOn()
getOn in interface X3DLightNodePointLight setOn(boolean newValue)
setOn in interface X3DLightNodenewValue - is new value for the on field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getRadius()
PointLight setRadius(float newValue)
newValue - is new value for the radius field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).PointLight setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DLightNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).PointLight 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 X3DLightNodesetUSE in interface X3DNodenewValue - is new value for the USE field.PointLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).PointLight setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DLightNodesetCssClass in interface X3DNodenewValue - is new value for the class field.PointLight - 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.