public interface SingleAxisHingeJoint extends X3DRigidJointNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getAnchorPoint()
Provide array of 3-tuple float results from inputOutput SFVec3f field named anchorPoint.
|
float |
getAngle()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named angle.
|
float |
getAngleRate()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named angleRate.
|
float[] |
getAxis()
Provide array of 3-tuple float results from inputOutput SFVec3f field named axis.
|
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.
|
float |
getMaxAngle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named maxAngle.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMinAngle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named minAngle.
|
float |
getStopBounce()
Provide float value from inputOutput SFFloat field named stopBounce.
|
float |
getStopErrorCorrection()
Provide float value from inputOutput SFFloat field named stopErrorCorrection.
|
SingleAxisHingeJoint |
setAnchorPoint(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named anchorPoint.
|
SingleAxisHingeJoint |
setAxis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named axis.
|
SingleAxisHingeJoint |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
SingleAxisHingeJoint |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
SingleAxisHingeJoint |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SingleAxisHingeJoint |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SingleAxisHingeJoint |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
SingleAxisHingeJoint |
setMaxAngle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named maxAngle.
|
SingleAxisHingeJoint |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SingleAxisHingeJoint |
setMinAngle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named minAngle.
|
SingleAxisHingeJoint |
setStopBounce(float newValue)
Assign float value to inputOutput SFFloat field named stopBounce.
|
SingleAxisHingeJoint |
setStopErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stopErrorCorrection.
|
SingleAxisHingeJoint |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getAnchorPoint()
SingleAxisHingeJoint setAnchorPoint(float[] newValue)
newValue - is new value for the anchorPoint field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAngle()
float getAngleRate()
float[] getAxis()
SingleAxisHingeJoint setAxis(float[] newValue)
newValue - is new value for the axis field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody1()
getBody1 in interface X3DRigidJointNodeSingleAxisHingeJoint setBody1(RigidBody newValue)
setBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.SingleAxisHingeJoint - 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 X3DRigidJointNodeSingleAxisHingeJoint setBody2(RigidBody newValue)
setBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.SingleAxisHingeJoint - 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 X3DRigidJointNodeSingleAxisHingeJoint setForceOutput(java.lang.String[] newValue)
setForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMaxAngle()
SingleAxisHingeJoint setMaxAngle(float newValue)
newValue - is new value for the maxAngle field.SingleAxisHingeJoint - 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 X3DRigidJointNodeSingleAxisHingeJoint setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface X3DRigidJointNodenewValue - is new value for the metadata field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMinAngle()
SingleAxisHingeJoint setMinAngle(float newValue)
newValue - is new value for the minAngle field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStopBounce()
SingleAxisHingeJoint setStopBounce(float newValue)
newValue - is new value for the stopBounce field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStopErrorCorrection()
SingleAxisHingeJoint setStopErrorCorrection(float newValue)
newValue - is new value for the stopErrorCorrection field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SingleAxisHingeJoint setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface X3DRigidJointNodenewValue - is new value for the DEF field.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SingleAxisHingeJoint 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.SingleAxisHingeJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).SingleAxisHingeJoint setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface X3DRigidJointNodenewValue - is new value for the class field.SingleAxisHingeJoint - 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.