Interface ForcePhysicsModel

All Superinterfaces:
X3DNode, X3DParticlePhysicsModelNode
All Known Implementing Classes:
ForcePhysicsModel

public interface ForcePhysicsModel extends X3DParticlePhysicsModelNode
ForcePhysicsModel applies a constant force value to the particles.

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. ForcePhysicsModel node tooltip: (X3D version 3.2 or later) [X3DParticlePhysicsModelNode] ForcePhysicsModel applies a constant force value to the particles.
  • Hint: force may act in any given direction vector at any strength.

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
    boolean
    Provide boolean value from inputOutput SFBool field named enabled.
    float[]
    Provide array of 3-tuple float results from inputOutput SFVec3f field named force.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    setEnabled(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named enabled.
    setForce(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named force.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.