public interface CollidableShape extends X3DNBodyCollidableNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getBboxCenter()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
|
float[] |
getBboxSize()
Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float[] |
getRotation()
Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named rotation.
|
Shape |
getShape()
Provide Shape instance (using a properly typed node) from initializeOnly SFNode field shape.
|
float[] |
getTranslation()
Provide array of 3-tuple float results from inputOutput SFVec3f field named translation.
|
CollidableShape |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
CollidableShape |
setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
CollidableShape |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
CollidableShape |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
CollidableShape |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
CollidableShape |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
CollidableShape |
setRotation(float[] newValue)
Assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named rotation.
|
CollidableShape |
setShape(Shape newValue)
Assign Shape instance (using a properly typed node) to initializeOnly SFNode field shape.
|
CollidableShape |
setTranslation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named translation.
|
CollidableShape |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectgetBboxCenter in interface X3DNBodyCollidableNodeCollidableShape setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectsetBboxCenter in interface X3DNBodyCollidableNodenewValue - is new value for the bboxCenter field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectgetBboxSize in interface X3DNBodyCollidableNodeCollidableShape setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectsetBboxSize in interface X3DNBodyCollidableNodenewValue - is new value for the bboxSize field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
getEnabled in interface X3DNBodyCollidableNodeCollidableShape setEnabled(boolean newValue)
setEnabled in interface X3DNBodyCollidableNodenewValue - is new value for the enabled field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNBodyCollidableNodegetMetadata in interface X3DNodeCollidableShape setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNBodyCollidableNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getRotation()
getRotation in interface X3DNBodyCollidableNodeCollidableShape setRotation(float[] newValue)
setRotation in interface X3DNBodyCollidableNodenewValue - is new value for the rotation field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Shape getShape()
CollidableShape setShape(Shape newValue)
newValue - is new value for the shape field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getTranslation()
getTranslation in interface X3DNBodyCollidableNodeCollidableShape setTranslation(float[] newValue)
setTranslation in interface X3DNBodyCollidableNodenewValue - is new value for the translation field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CollidableShape setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNBodyCollidableNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CollidableShape 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 X3DChildNodesetUSE in interface X3DNBodyCollidableNodesetUSE in interface X3DNodenewValue - is new value for the USE field.CollidableShape - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CollidableShape setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNBodyCollidableNodesetCssClass in interface X3DNodenewValue - is new value for the class field.CollidableShape - 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.