public interface TriangleSet2D extends X3DGeometryNode
| Modifier and Type | Method and Description |
|---|---|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
boolean |
getSolid()
Provide boolean value from initializeOnly SFBool field named solid.
|
float[] |
getVertices()
Provide array of 2-tuple float results from inputOutput MFVec2f field named vertices.
|
TriangleSet2D |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TriangleSet2D |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TriangleSet2D |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TriangleSet2D |
setSolid(boolean newValue)
Assign boolean value to initializeOnly SFBool field named solid.
|
TriangleSet2D |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
TriangleSet2D |
setVertices(float[] newValue)
Assign 2-tuple float array to inputOutput MFVec2f field named vertices.
|
X3DMetadataObject getMetadata()
getMetadata in interface X3DGeometryNodegetMetadata in interface X3DNodeTriangleSet2D setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DGeometryNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.TriangleSet2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getSolid()
TriangleSet2D setSolid(boolean newValue)
newValue - is new value for the solid field.TriangleSet2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getVertices()
TriangleSet2D setVertices(float[] newValue)
newValue - is new value for the vertices field.TriangleSet2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TriangleSet2D setDEF(java.lang.String newValue)
setDEF in interface X3DGeometryNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.TriangleSet2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TriangleSet2D 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 X3DGeometryNodesetUSE in interface X3DNodenewValue - is new value for the USE field.TriangleSet2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TriangleSet2D setCssClass(java.lang.String newValue)
setCssClass in interface X3DGeometryNodesetCssClass in interface X3DNodenewValue - is new value for the class field.TriangleSet2D - 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.