Interface ForcePhysicsModel

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

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

X3D 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:
SAI Java Specification: TODO, X3D Abstract Specification: ForcePhysicsModel, X3D Tooltips: ForcePhysicsModel, X3D Scene Authoring Hints
  • Method Summary

    Modifier and Type Method Description
    boolean getEnabled()
    Provide boolean value from inputOutput SFBool field named enabled.
    float[] getForce()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named force.
    X3DMetadataObject getMetadata()
    Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    ForcePhysicsModel setEnabled​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named enabled.
    ForcePhysicsModel setForce​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named force.
    ForcePhysicsModel setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.