| 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 |
DirectionalLightObject
DirectionalLight might not be scoped by parent Group or Transform at levels 1 or 2.
|
| Modifier and Type | Method and Description |
|---|---|
DirectionalLight |
DirectionalLight.setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
DirectionalLight |
DirectionalLight.setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
DirectionalLight |
DirectionalLight.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
DirectionalLight |
DirectionalLight.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
DirectionalLight |
DirectionalLight.setDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named direction.
|
DirectionalLight |
DirectionalLight.setGlobal(boolean newValue)
Assign boolean value to inputOutput SFBool field named global.
|
DirectionalLight |
DirectionalLight.setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
DirectionalLight |
DirectionalLight.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
DirectionalLight |
DirectionalLight.setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
DirectionalLight |
DirectionalLight.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.