public interface ColorRGBA extends X3DColorNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getColor()
Provide array of 4-tuple float results using RGBA values [0..1] using RGBA values [0..1] from inputOutput MFColorRGBA field named color.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
ColorRGBA |
setColor(float[] newValue)
Assign 4-tuple float array using RGBA values [0..1] using RGBA values [0..1] to inputOutput MFColorRGBA field named color.
|
ColorRGBA |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ColorRGBA |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ColorRGBA |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ColorRGBA |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getColor()
ColorRGBA setColor(float[] newValue)
newValue - is new value for the color field.ColorRGBA - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DColorNodegetMetadata in interface X3DGeometricPropertyNodegetMetadata in interface X3DNodeColorRGBA setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DColorNodesetMetadata in interface X3DGeometricPropertyNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.ColorRGBA - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ColorRGBA setDEF(java.lang.String newValue)
setDEF in interface X3DColorNodesetDEF in interface X3DGeometricPropertyNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.ColorRGBA - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ColorRGBA 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 X3DColorNodesetUSE in interface X3DGeometricPropertyNodesetUSE in interface X3DNodenewValue - is new value for the USE field.ColorRGBA - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ColorRGBA setCssClass(java.lang.String newValue)
setCssClass in interface X3DColorNodesetCssClass in interface X3DGeometricPropertyNodesetCssClass in interface X3DNodenewValue - is new value for the class field.ColorRGBA - 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.