| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Lighting |
The Lighting component specifies how light sources are defined and positioned, as
well as how lights effect the rendered image.
|
| org.web3d.x3d.sai.Lighting |
The Lighting component specifies how light sources are defined and positioned, as
well as how lights effect the rendered image.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PointLightObject
Linear attenuation may occur at level 2, full support at level 3.
|
| Modifier and Type | Method and Description |
|---|---|
PointLight |
PointLight.setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
PointLight |
PointLight.setAttenuation(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to inputOutput SFVec3f field named attenuation.
|
PointLight |
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 |
PointLight.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
PointLight |
PointLight.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
PointLight |
PointLight.setGlobal(boolean newValue)
Assign boolean value to inputOutput SFBool field named global.
|
PointLight |
PointLight.setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
PointLight |
PointLight.setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
PointLight |
PointLight.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
PointLight |
PointLight.setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
PointLight |
PointLight.setRadius(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named radius.
|
PointLight |
PointLight.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.