public interface SpotLight 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 |
getBeamWidth()
Provide float value within allowed range of (0,1.570796] from inputOutput SFFloat field named beamWidth.
|
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 |
getCutOffAngle()
Provide float value unit axis, angle (in radians) within allowed range of (0,1.570796] from inputOutput SFFloat field named cutOffAngle.
|
float[] |
getDirection()
Provide array of 3-tuple float results from inputOutput SFVec3f field named direction.
|
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.
|
SpotLight |
setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
SpotLight |
setAttenuation(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to inputOutput SFVec3f field named attenuation.
|
SpotLight |
setBeamWidth(float newValue)
Assign float value within allowed range of (0,1.570796] to inputOutput SFFloat field named beamWidth.
|
SpotLight |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
SpotLight |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SpotLight |
setCutOffAngle(float newValue)
Assign float value unit axis, angle (in radians) within allowed range of (0,1.570796] to inputOutput SFFloat field named cutOffAngle.
|
SpotLight |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SpotLight |
setDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named direction.
|
SpotLight |
setGlobal(boolean newValue)
Assign boolean value to inputOutput SFBool field named global.
|
SpotLight |
setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
SpotLight |
setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
SpotLight |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SpotLight |
setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
SpotLight |
setRadius(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named radius.
|
SpotLight |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float getAmbientIntensity()
getAmbientIntensity in interface X3DLightNodeSpotLight setAmbientIntensity(float newValue)
setAmbientIntensity in interface X3DLightNodenewValue - is new value for the ambientIntensity field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getAttenuation()
SpotLight setAttenuation(float[] newValue)
newValue - is new value for the attenuation field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getBeamWidth()
SpotLight setBeamWidth(float newValue)
newValue - is new value for the beamWidth field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getColor()
getColor in interface X3DLightNodeSpotLight setColor(float[] newValue)
setColor in interface X3DLightNodenewValue - is new value for the color field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getCutOffAngle()
SpotLight setCutOffAngle(float newValue)
newValue - is new value for the cutOffAngle field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getDirection()
SpotLight setDirection(float[] newValue)
newValue - is new value for the direction field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getGlobal()
SpotLight setGlobal(boolean newValue)
newValue - is new value for the global field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getIntensity()
getIntensity in interface X3DLightNodeSpotLight setIntensity(float newValue)
setIntensity in interface X3DLightNodenewValue - is new value for the intensity field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getLocation()
SpotLight setLocation(float[] newValue)
newValue - is new value for the location field.SpotLight - 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 X3DNodeSpotLight setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DLightNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getOn()
getOn in interface X3DLightNodeSpotLight setOn(boolean newValue)
setOn in interface X3DLightNodenewValue - is new value for the on field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getRadius()
SpotLight setRadius(float newValue)
newValue - is new value for the radius field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SpotLight setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DLightNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SpotLight 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.SpotLight - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SpotLight setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DLightNodesetCssClass in interface X3DNodenewValue - is new value for the class field.SpotLight - 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.