public interface BallJoint extends X3DRigidJointNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getAnchorPoint()
Provide array of 3-tuple float results from inputOutput SFVec3f field named anchorPoint.
|
RigidBody |
getBody1()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
|
float[] |
getBody1AnchorPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named body1AnchorPoint.
|
RigidBody |
getBody2()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
|
float[] |
getBody2AnchorPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named body2AnchorPoint.
|
java.lang.String[] |
getForceOutput()
Provide array of String enumeration results ['"ALL"'|'"NONE"'|'"etc."'] from inputOutput MFString field named forceOutput.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
BallJoint |
setAnchorPoint(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named anchorPoint.
|
BallJoint |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
BallJoint |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
BallJoint |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
BallJoint |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
BallJoint |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
BallJoint |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
BallJoint |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getAnchorPoint()
BallJoint setAnchorPoint(float[] newValue)
newValue - is new value for the anchorPoint field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody1()
getBody1 in interface X3DRigidJointNodeBallJoint setBody1(RigidBody newValue)
setBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBody1AnchorPoint()
RigidBody getBody2()
getBody2 in interface X3DRigidJointNodeBallJoint setBody2(RigidBody newValue)
setBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBody2AnchorPoint()
java.lang.String[] getForceOutput()
getForceOutput in interface X3DRigidJointNodeBallJoint setForceOutput(java.lang.String[] newValue)
setForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface X3DRigidJointNodeBallJoint setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface X3DRigidJointNodenewValue - is new value for the metadata field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).BallJoint setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface X3DRigidJointNodenewValue - is new value for the DEF field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).BallJoint 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 X3DNodesetUSE in interface X3DRigidJointNodenewValue - is new value for the USE field.BallJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).BallJoint setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface X3DRigidJointNodenewValue - is new value for the class field.BallJoint - 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.