-
-
Methods in org.web3d.x3d.sai.Shape that return Material
| Modifier and Type |
Method |
Description |
Material |
Material.setAmbientIntensity(float newValue) |
Accessor method to assign float value to inputOutput SFFloat field named ambientIntensity.
|
Material |
Material.setDiffuseColor(float[] newValue) |
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named diffuseColor.
|
Material |
Material.setEmissiveColor(float[] newValue) |
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named emissiveColor.
|
Material |
Material.setMetadata(X3DMetadataObject newValue) |
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Material |
Material.setShininess(float newValue) |
Accessor method to assign float value to inputOutput SFFloat field named shininess.
|
Material |
Material.setSpecularColor(float[] newValue) |
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named specularColor.
|
Material |
Material.setTransparency(float newValue) |
Accessor method to assign float value to inputOutput SFFloat field named transparency.
|