public interface UniversalJoint extends X3DRigidJointNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getAnchorPoint()
Provide array of 3-tuple float results from inputOutput SFVec3f field named anchorPoint.
|
float[] |
getAxis1()
Provide array of 3-tuple float results from inputOutput SFVec3f field named axis1.
|
float[] |
getAxis2()
Provide array of 3-tuple float results from inputOutput SFVec3f field named axis2.
|
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.
|
float[] |
getBody1Axis()
Provide array of 3-tuple float results from outputOnly SFVec3f field named body1Axis.
|
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.
|
float |
getBody2Axis()
Provide float value from outputOnly SFFloat field named body2Axis.
|
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.
|
float |
getStop1Bounce()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named stop1Bounce.
|
float |
getStop1ErrorCorrection()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named stop1ErrorCorrection.
|
float |
getStop2Bounce()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named stop2Bounce.
|
float |
getStop2ErrorCorrection()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named stop2ErrorCorrection.
|
UniversalJoint |
setAnchorPoint(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named anchorPoint.
|
UniversalJoint |
setAxis1(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named axis1.
|
UniversalJoint |
setAxis2(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named axis2.
|
UniversalJoint |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
UniversalJoint |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
UniversalJoint |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
UniversalJoint |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
UniversalJoint |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
UniversalJoint |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
UniversalJoint |
setStop1Bounce(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named stop1Bounce.
|
UniversalJoint |
setStop1ErrorCorrection(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named stop1ErrorCorrection.
|
UniversalJoint |
setStop2Bounce(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named stop2Bounce.
|
UniversalJoint |
setStop2ErrorCorrection(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named stop2ErrorCorrection.
|
UniversalJoint |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getAnchorPoint()
UniversalJoint setAnchorPoint(float[] newValue)
newValue - is new value for the anchorPoint field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getAxis1()
UniversalJoint setAxis1(float[] newValue)
newValue - is new value for the axis1 field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getAxis2()
UniversalJoint setAxis2(float[] newValue)
newValue - is new value for the axis2 field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody1()
getBody1 in interface X3DRigidJointNodeUniversalJoint setBody1(RigidBody newValue)
setBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBody1AnchorPoint()
float[] getBody1Axis()
RigidBody getBody2()
getBody2 in interface X3DRigidJointNodeUniversalJoint setBody2(RigidBody newValue)
setBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBody2AnchorPoint()
float getBody2Axis()
java.lang.String[] getForceOutput()
getForceOutput in interface X3DRigidJointNodeUniversalJoint setForceOutput(java.lang.String[] newValue)
setForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.UniversalJoint - 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 X3DRigidJointNodeUniversalJoint setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface X3DRigidJointNodenewValue - is new value for the metadata field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop1Bounce()
UniversalJoint setStop1Bounce(float newValue)
newValue - is new value for the stop1Bounce field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop1ErrorCorrection()
UniversalJoint setStop1ErrorCorrection(float newValue)
newValue - is new value for the stop1ErrorCorrection field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop2Bounce()
UniversalJoint setStop2Bounce(float newValue)
newValue - is new value for the stop2Bounce field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop2ErrorCorrection()
UniversalJoint setStop2ErrorCorrection(float newValue)
newValue - is new value for the stop2ErrorCorrection field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).UniversalJoint setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface X3DRigidJointNodenewValue - is new value for the DEF field.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).UniversalJoint 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.UniversalJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).UniversalJoint setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface X3DRigidJointNodenewValue - is new value for the class field.UniversalJoint - 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.