public interface Sphere extends X3DGeometryNode
| Modifier and Type | Method and Description |
|---|---|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getRadius()
Provide float value within allowed range of (0,infinity) from initializeOnly SFFloat field named radius.
|
boolean |
getSolid()
Provide boolean value from initializeOnly SFBool field named solid.
|
Sphere |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Sphere |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Sphere |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Sphere |
setRadius(float newValue)
Assign float value within allowed range of (0,infinity) to initializeOnly SFFloat field named radius.
|
Sphere |
setSolid(boolean newValue)
Assign boolean value to initializeOnly SFBool field named solid.
|
Sphere |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DMetadataObject getMetadata()
getMetadata in interface X3DGeometryNodegetMetadata in interface X3DNodeSphere setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DGeometryNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.Sphere - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getRadius()
Sphere setRadius(float newValue)
newValue - is new value for the radius field.Sphere - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getSolid()
Sphere setSolid(boolean newValue)
newValue - is new value for the solid field.Sphere - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sphere setDEF(java.lang.String newValue)
setDEF in interface X3DGeometryNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.Sphere - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sphere 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.Sphere - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sphere setCssClass(java.lang.String newValue)
setCssClass in interface X3DGeometryNodesetCssClass in interface X3DNodenewValue - is new value for the class field.Sphere - 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.