Interface RigidBodyCollection

All Superinterfaces:
X3DBoundedObject, X3DChildNode, X3DNode
All Known Implementing Classes:
RigidBodyCollection

public interface RigidBodyCollection extends X3DChildNode, X3DBoundedObject
RigidBodyCollection represents a system of bodies that interact within a single physics model.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. RigidBodyCollection node tooltip: (X3D version 3.2 or later) [X3DChildNode] RigidBodyCollection represents a system of bodies that interact within a single physics model. *


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
  • Method Summary

    Modifier and Type
    Method
    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
    Provide boolean value from inputOutput SFBool field named autoDisable.
    float[]
    Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
    boolean
    Provide boolean value from inputOutput SFBool field named bboxDisplay.
    float[]
    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.
    Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field bodies.
    Provide org.web3d.x3d.sai.RigidBodyPhysics.CollisionCollection instance (using a properly typed node) from initializeOnly SFNode field collider.
    float
    Provide float value from inputOutput SFFloat field named constantForceMix.
    float
    Provide float value from inputOutput SFFloat field named contactSurfaceThickness.
    float
    Provide float value from inputOutput SFFloat field named disableAngularSpeed.
    float
    Provide float value from inputOutput SFFloat field named disableLinearSpeed.
    double
    Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named disableTime.
    boolean
    Provide boolean value from inputOutput SFBool field named enabled.
    float
    Provide float value from inputOutput SFFloat field named errorCorrection.
    float[]
    Provide array of 3-tuple float results from inputOutput SFVec3f field named gravity.
    int
    Provide int value from inputOutput SFInt32 field named iterations.
    Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field joints.
    float
    Provide float value from inputOutput SFFloat field named maxCorrectionSpeed.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    boolean
    Provide boolean value from inputOutput SFBool field named preferAccuracy.
    boolean
    Provide boolean value from inputOutput SFBool field named visible.
    setAutoDisable(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named autoDisable.
    setBboxCenter(float[] newValue)
    Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
    setBboxDisplay(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named bboxDisplay.
    setBboxSize(float[] newValue)
    Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.
    void
    setBodies(X3DNode newValue)
    Set single child bodies node, replacing prior array of existing nodes (if any).
    setBodies(X3DNode[] newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field bodies.
    Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.CollisionCollection instance (using a properly typed node) to initializeOnly SFNode field collider.
    setConstantForceMix(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named constantForceMix.
    Accessor method to assign float value to inputOutput SFFloat field named contactSurfaceThickness.
    setDisableAngularSpeed(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named disableAngularSpeed.
    setDisableLinearSpeed(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named disableLinearSpeed.
    setDisableTime(double newValue)
    Accessor method to assign double value in seconds to inputOutput SFTime field named disableTime.
    setEnabled(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named enabled.
    setErrorCorrection(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named errorCorrection.
    setGravity(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named gravity.
    setIterations(int newValue)
    Accessor method to 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).
    setJoints(X3DNode[] newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field joints.
    setMaxCorrectionSpeed(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named maxCorrectionSpeed.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    setPreferAccuracy(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named preferAccuracy.
    setVisible(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named visible.
  • Method Details

    • getAutoDisable

      boolean getAutoDisable()
      Provide boolean value from inputOutput SFBool field named autoDisable.

      Tooltip: autoDisable toggles operation of disableAngularSpeed, disableLinearSpeed, disableTime. *
      Returns:
      value of autoDisable field
    • setAutoDisable

      RigidBodyCollection setAutoDisable(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named autoDisable.

      Tooltip: autoDisable toggles operation of disableAngularSpeed, disableLinearSpeed, disableTime. *
      Parameters:
      newValue - is new value for the autoDisable field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBboxCenter

      float[] getBboxCenter()
      Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.

      Tooltip: Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
      Specified by:
      getBboxCenter in interface X3DBoundedObject
      Returns:
      value of bboxCenter field
    • setBboxCenter

      RigidBodyCollection setBboxCenter(float[] newValue)
      Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.

      Tooltip: Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
      Specified by:
      setBboxCenter in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxCenter field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBboxDisplay

      boolean getBboxDisplay()
      Provide boolean value from inputOutput SFBool field named bboxDisplay.

      Tooltip: Whether to display bounding box for associated geometry, aligned with world coordinates.
      • Hint: the bounding box is displayed regardless of whether contained content is visible.
      Specified by:
      getBboxDisplay in interface X3DBoundedObject
      Returns:
      value of bboxDisplay field
    • setBboxDisplay

      RigidBodyCollection setBboxDisplay(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named bboxDisplay.

      Tooltip: Whether to display bounding box for associated geometry, aligned with world coordinates.
      • Hint: the bounding box is displayed regardless of whether contained content is visible.
      Specified by:
      setBboxDisplay in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxDisplay field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBboxSize

      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.

      Tooltip: or [0,+infinity) Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
      Specified by:
      getBboxSize in interface X3DBoundedObject
      Returns:
      value of bboxSize field
    • setBboxSize

      RigidBodyCollection setBboxSize(float[] newValue)
      Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.

      Tooltip: or [0,+infinity) Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
      Specified by:
      setBboxSize in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxSize field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBodies

      X3DNode[] getBodies()
      Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field bodies.

      Tooltip: [RigidBody] Collection of top-level nodes that comprise a set of bodies evaluated as a single set of interactions. *


      Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to RigidBody.
      Returns:
      value of bodies field
      See Also:
    • setBodies

      RigidBodyCollection setBodies(X3DNode[] newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field bodies.

      Tooltip: [RigidBody] Collection of top-level nodes that comprise a set of bodies evaluated as a single set of interactions. *


      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to RigidBody.
      Parameters:
      newValue - is new value for the bodies field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addBodies

      void addBodies(X3DNode[] newValue)
      Add array of child bodies nodes to array of existing nodes (if any).

      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to RigidBody.
      Parameters:
      newValue - is new value array to be appended the bodies field.
    • setBodies

      void setBodies(X3DNode newValue)
      Set single child bodies node, replacing prior array of existing nodes (if any).
      Parameters:
      newValue - is new node for the bodies field
    • getCollider

      CollisionCollection getCollider()
      Provide org.web3d.x3d.sai.RigidBodyPhysics.CollisionCollection instance (using a properly typed node) from initializeOnly SFNode field collider.

      Tooltip: [CollisionCollection] The collider field associates a collision collection with this rigid body collection allowing seamless updates and integration without the need to use the X3D event model. *
      Returns:
      value of collider field
    • setCollider

      Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.CollisionCollection instance (using a properly typed node) to initializeOnly SFNode field collider.

      Tooltip: [CollisionCollection] The collider field associates a collision collection with this rigid body collection allowing seamless updates and integration without the need to use the X3D event model. *
      Parameters:
      newValue - is new value for the collider field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getConstantForceMix

      float getConstantForceMix()
      Provide float value from inputOutput SFFloat field named constantForceMix.

      Tooltip: [0,+infinity) constantForceMix modifies damping calculations by violating normal constraints while applying small, constant forces in those calculations.
      • Hint: this allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
      • Hint: spring-driven or spongy connections can be emulated by combined use of errorCorrection and constantForceMix.
      Returns:
      value of constantForceMix field
    • setConstantForceMix

      RigidBodyCollection setConstantForceMix(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named constantForceMix.

      Tooltip: [0,+infinity) constantForceMix modifies damping calculations by violating normal constraints while applying small, constant forces in those calculations.
      • Hint: this allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
      • Hint: spring-driven or spongy connections can be emulated by combined use of errorCorrection and constantForceMix.
      Parameters:
      newValue - is new value for the constantForceMix field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getContactSurfaceThickness

      float getContactSurfaceThickness()
      Provide float value from inputOutput SFFloat field named contactSurfaceThickness.

      Tooltip: [0,+infinity) contactSurfaceThickness defines how far bodies may interpenetrate after a collision, allowing simulation of softer bodies that deform somewhat during collision. *
      Returns:
      value of contactSurfaceThickness field
    • setContactSurfaceThickness

      RigidBodyCollection setContactSurfaceThickness(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named contactSurfaceThickness.

      Tooltip: [0,+infinity) contactSurfaceThickness defines how far bodies may interpenetrate after a collision, allowing simulation of softer bodies that deform somewhat during collision. *
      Parameters:
      newValue - is new value for the contactSurfaceThickness field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDisableAngularSpeed

      float getDisableAngularSpeed()
      Provide float value from inputOutput SFFloat field named disableAngularSpeed.

      Tooltip: [0,+infinity) disableAngularSpeed defines lower-limit tolerance value when body is considered at rest and not part of rigid body calculations, reducing numeric instabilities.
      • Hint: only activated if autoDisable='true'.
      Returns:
      value of disableAngularSpeed field
    • setDisableAngularSpeed

      RigidBodyCollection setDisableAngularSpeed(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named disableAngularSpeed.

      Tooltip: [0,+infinity) disableAngularSpeed defines lower-limit tolerance value when body is considered at rest and not part of rigid body calculations, reducing numeric instabilities.
      • Hint: only activated if autoDisable='true'.
      Parameters:
      newValue - is new value for the disableAngularSpeed field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDisableLinearSpeed

      float getDisableLinearSpeed()
      Provide float value from inputOutput SFFloat field named disableLinearSpeed.

      Tooltip: [0,+infinity) disableLinearSpeed defines lower-limit tolerance value when body is considered at rest and not part of rigid body calculation, reducing numeric instabilitiess.
      • Hint: only activated if autoDisable='true'.
      Returns:
      value of disableLinearSpeed field
    • setDisableLinearSpeed

      RigidBodyCollection setDisableLinearSpeed(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named disableLinearSpeed.

      Tooltip: [0,+infinity) disableLinearSpeed defines lower-limit tolerance value when body is considered at rest and not part of rigid body calculation, reducing numeric instabilitiess.
      • Hint: only activated if autoDisable='true'.
      Parameters:
      newValue - is new value for the disableLinearSpeed field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDisableTime

      double getDisableTime()
      Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named disableTime.

      Tooltip: [0,+infinity) disableTime defines interval when body becomes at rest and not part of rigid body calculations, reducing numeric instabilities.
      • Hint: only activated if autoDisable='true'
      • Hint: disableTime is an SFTime duration interval, not an absolute clock time.
      Returns:
      value of disableTime field
    • setDisableTime

      RigidBodyCollection setDisableTime(double newValue)
      Accessor method to assign double value in seconds to inputOutput SFTime field named disableTime.

      Tooltip: [0,+infinity) disableTime defines interval when body becomes at rest and not part of rigid body calculations, reducing numeric instabilities.
      • Hint: only activated if autoDisable='true'
      • Hint: disableTime is an SFTime duration interval, not an absolute clock time.
      Parameters:
      newValue - is new value for the disableTime field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getEnabled

      boolean getEnabled()
      Provide boolean value from inputOutput SFBool field named enabled.

      Tooltip: Enables/disables node operation. *
      Returns:
      value of enabled field
    • setEnabled

      RigidBodyCollection setEnabled(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named enabled.

      Tooltip: Enables/disables node operation. *
      Parameters:
      newValue - is new value for the enabled field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getErrorCorrection

      float getErrorCorrection()
      Provide float value from inputOutput SFFloat field named errorCorrection.

      Tooltip: [0,1] errorCorrection describes how quickly intersection errors due to floating-point inaccuracies are resolved (0=no correction, 1=all corrected in single step). *
      Returns:
      value of errorCorrection field
    • setErrorCorrection

      RigidBodyCollection setErrorCorrection(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named errorCorrection.

      Tooltip: [0,1] errorCorrection describes how quickly intersection errors due to floating-point inaccuracies are resolved (0=no correction, 1=all corrected in single step). *
      Parameters:
      newValue - is new value for the errorCorrection field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getGravity

      float[] getGravity()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named gravity.

      Tooltip: gravity indicates direction and strength of local gravity vector for this collection of bodies (units m/sec^2). *
      Returns:
      value of gravity field
    • setGravity

      RigidBodyCollection setGravity(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named gravity.

      Tooltip: gravity indicates direction and strength of local gravity vector for this collection of bodies (units m/sec^2). *
      Parameters:
      newValue - is new value for the gravity field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getIterations

      int getIterations()
      Provide int value from inputOutput SFInt32 field named iterations.

      Tooltip: [0,+infinity) iterations controls number of iterations performed over collectioned joints and bodies during each evaluation. *
      Returns:
      value of iterations field
    • setIterations

      RigidBodyCollection setIterations(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named iterations.

      Tooltip: [0,+infinity) iterations controls number of iterations performed over collectioned joints and bodies during each evaluation. *
      Parameters:
      newValue - is new value for the iterations field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getJoints

      X3DNode[] getJoints()
      Provide array of org.web3d.x3d.sai.Core.X3DNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field joints.

      Tooltip: [X3DRigidJointNode] The joints field is used to register all joints between bodies contained in this collection.
      • Warning: If a joint is connected between bodies in two different collections, the result is implementation-dependent.
      • Warning: If a joint instance is registered with more than one collection, the results are implementation dependent.
      • Warning: Joints not registered with any collection are not evaluated.


      Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DRigidJointNode.
      Returns:
      value of joints field
      See Also:
    • setJoints

      RigidBodyCollection setJoints(X3DNode[] newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field joints.

      Tooltip: [X3DRigidJointNode] The joints field is used to register all joints between bodies contained in this collection.
      • Warning: If a joint is connected between bodies in two different collections, the result is implementation-dependent.
      • Warning: If a joint instance is registered with more than one collection, the results are implementation dependent.
      • Warning: Joints not registered with any collection are not evaluated.


      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DRigidJointNode.
      Parameters:
      newValue - is new value for the joints field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addJoints

      void addJoints(X3DNode[] newValue)
      Add array of child joints nodes to array of existing nodes (if any).

      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DRigidJointNode.
      Parameters:
      newValue - is new value array to be appended the joints field.
    • setJoints

      void setJoints(X3DNode newValue)
      Set single child joints node, replacing prior array of existing nodes (if any).
      Parameters:
      newValue - is new node for the joints field
    • getMaxCorrectionSpeed

      float getMaxCorrectionSpeed()
      Provide float value from inputOutput SFFloat field named maxCorrectionSpeed.

      Tooltip: [0,+infinity) or -1, maxCorrectionSpeed . *
      Returns:
      value of maxCorrectionSpeed field
    • setMaxCorrectionSpeed

      RigidBodyCollection setMaxCorrectionSpeed(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named maxCorrectionSpeed.

      Tooltip: [0,+infinity) or -1, maxCorrectionSpeed . *
      Parameters:
      newValue - is new value for the maxCorrectionSpeed field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.

      Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
      Specified by:
      getMetadata in interface X3DChildNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
    • setMetadata

      RigidBodyCollection setMetadata(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.

      Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
      Specified by:
      setMetadata in interface X3DChildNode
      Specified by:
      setMetadata in interface X3DNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • getPreferAccuracy

      boolean getPreferAccuracy()
      Provide boolean value from inputOutput SFBool field named preferAccuracy.

      Tooltip: preferAccuracy provides hint for performance preference: higher accuracy or faster computational speed. *
      Returns:
      value of preferAccuracy field
    • setPreferAccuracy

      RigidBodyCollection setPreferAccuracy(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named preferAccuracy.

      Tooltip: preferAccuracy provides hint for performance preference: higher accuracy or faster computational speed. *
      Parameters:
      newValue - is new value for the preferAccuracy field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVisible

      boolean getVisible()
      Provide boolean value from inputOutput SFBool field named visible.

      Tooltip: Whether or not renderable content within this node is visually displayed.
      • Hint: the visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
      • Hint: content must be visible to be collidable and to be pickable.
      Specified by:
      getVisible in interface X3DBoundedObject
      Returns:
      value of visible field
    • setVisible

      RigidBodyCollection setVisible(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named visible.

      Tooltip: Whether or not renderable content within this node is visually displayed.
      • Hint: the visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
      • Hint: content must be visible to be collidable and to be pickable.
      Specified by:
      setVisible in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the visible field.
      Returns:
      RigidBodyCollection - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).