public interface RigidBodyCollection extends X3DChildNode
| Modifier and Type | Method and Description |
|---|---|
void |
addBodies(X3DNode[] newValue)
Add array of child bodies nodes to array of existing nodes (if any).
|
void |
addJoints(X3DNode[] newValue)
Add array of child joints nodes to array of existing nodes (if any).
|
boolean |
getAutoDisable()
Provide boolean value from inputOutput SFBool field named autoDisable.
|
X3DNode[] |
getBodies()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field bodies.
|
CollisionCollection |
getCollider()
Provide CollisionCollection instance (using a properly typed node) from initializeOnly SFNode field collider.
|
float |
getConstantForceMix()
Provide float value from inputOutput SFFloat field named constantForceMix.
|
float |
getContactSurfaceThickness()
Provide float value from inputOutput SFFloat field named contactSurfaceThickness.
|
float |
getDisableAngularSpeed()
Provide float value from inputOutput SFFloat field named disableAngularSpeed.
|
float |
getDisableLinearSpeed()
Provide float value from inputOutput SFFloat field named disableLinearSpeed.
|
double |
getDisableTime()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named disableTime.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
float |
getErrorCorrection()
Provide float value from inputOutput SFFloat field named errorCorrection.
|
float[] |
getGravity()
Provide array of 3-tuple float results from inputOutput SFVec3f field named gravity.
|
int |
getIterations()
Provide int value from inputOutput SFInt32 field named iterations.
|
X3DNode[] |
getJoints()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field joints.
|
float |
getMaxCorrectionSpeed()
Provide float value from inputOutput SFFloat field named maxCorrectionSpeed.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
boolean |
getPreferAccuracy()
Provide boolean value from inputOutput SFBool field named preferAccuracy.
|
RigidBodyCollection |
setAutoDisable(boolean newValue)
Assign boolean value to inputOutput SFBool field named autoDisable.
|
void |
setBodies(X3DNode newValue)
Set single child bodies node, replacing prior array of existing nodes (if any).
|
RigidBodyCollection |
setBodies(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field bodies.
|
RigidBodyCollection |
setCollider(CollisionCollection newValue)
Assign CollisionCollection instance (using a properly typed node) to initializeOnly SFNode field collider.
|
RigidBodyCollection |
setConstantForceMix(float newValue)
Assign float value to inputOutput SFFloat field named constantForceMix.
|
RigidBodyCollection |
setContactSurfaceThickness(float newValue)
Assign float value to inputOutput SFFloat field named contactSurfaceThickness.
|
RigidBodyCollection |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
RigidBodyCollection |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
RigidBodyCollection |
setDisableAngularSpeed(float newValue)
Assign float value to inputOutput SFFloat field named disableAngularSpeed.
|
RigidBodyCollection |
setDisableLinearSpeed(float newValue)
Assign float value to inputOutput SFFloat field named disableLinearSpeed.
|
RigidBodyCollection |
setDisableTime(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named disableTime.
|
RigidBodyCollection |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
RigidBodyCollection |
setErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named errorCorrection.
|
RigidBodyCollection |
setGravity(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named gravity.
|
RigidBodyCollection |
setIterations(int newValue)
Assign int value to inputOutput SFInt32 field named iterations.
|
void |
setJoints(X3DNode newValue)
Set single child joints node, replacing prior array of existing nodes (if any).
|
RigidBodyCollection |
setJoints(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field joints.
|
RigidBodyCollection |
setMaxCorrectionSpeed(float newValue)
Assign float value to inputOutput SFFloat field named maxCorrectionSpeed.
|
RigidBodyCollection |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
RigidBodyCollection |
setPreferAccuracy(boolean newValue)
Assign boolean value to inputOutput SFBool field named preferAccuracy.
|
RigidBodyCollection |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getAutoDisable()
RigidBodyCollection setAutoDisable(boolean newValue)
newValue - is new value for the autoDisable field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getBodies()
RigidBodyObjectRigidBodyCollection setBodies(X3DNode[] newValue)
newValue - is new value for the bodies field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addBodies(X3DNode[] newValue)
newValue - is new value array to be appended the bodies field.void setBodies(X3DNode newValue)
newValue - is new node for the bodies fieldCollisionCollection getCollider()
RigidBodyCollection setCollider(CollisionCollection newValue)
newValue - is new value for the collider field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getConstantForceMix()
RigidBodyCollection setConstantForceMix(float newValue)
newValue - is new value for the constantForceMix field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getContactSurfaceThickness()
RigidBodyCollection setContactSurfaceThickness(float newValue)
newValue - is new value for the contactSurfaceThickness field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getDisableAngularSpeed()
RigidBodyCollection setDisableAngularSpeed(float newValue)
newValue - is new value for the disableAngularSpeed field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getDisableLinearSpeed()
RigidBodyCollection setDisableLinearSpeed(float newValue)
newValue - is new value for the disableLinearSpeed field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getDisableTime()
RigidBodyCollection setDisableTime(double newValue)
newValue - is new value for the disableTime field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
RigidBodyCollection setEnabled(boolean newValue)
newValue - is new value for the enabled field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getErrorCorrection()
RigidBodyCollection setErrorCorrection(float newValue)
newValue - is new value for the errorCorrection field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getGravity()
RigidBodyCollection setGravity(float[] newValue)
newValue - is new value for the gravity field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).int getIterations()
RigidBodyCollection setIterations(int newValue)
newValue - is new value for the iterations field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getJoints()
X3DRigidJointNodeRigidBodyCollection setJoints(X3DNode[] newValue)
newValue - is new value for the joints field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addJoints(X3DNode[] newValue)
newValue - is new value array to be appended the joints field.void setJoints(X3DNode newValue)
newValue - is new node for the joints fieldfloat getMaxCorrectionSpeed()
RigidBodyCollection setMaxCorrectionSpeed(float newValue)
newValue - is new value for the maxCorrectionSpeed field.RigidBodyCollection - 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 X3DNodeRigidBodyCollection setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getPreferAccuracy()
RigidBodyCollection setPreferAccuracy(boolean newValue)
newValue - is new value for the preferAccuracy field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBodyCollection setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBodyCollection 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 X3DNodenewValue - is new value for the USE field.RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBodyCollection setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.RigidBodyCollection - 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.