Class WindPhysicsModel

All Implemented Interfaces:
X3DNode, WindPhysicsModel, X3DParticlePhysicsModelNode

public class WindPhysicsModel extends X3DConcreteNode implements WindPhysicsModel
WindPhysicsModel applies a wind effect 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. X3D node tooltip: (X3D version 3.2 or later) [X3DParticlePhysicsModelNode] WindPhysicsModel applies a wind effect to the particles. The wind includes a random variation factor to model gustiness. *


Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: WindPhysicsModel.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the WindPhysicsModel element: ParticleSystems
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D ParticleSystems component level for this element: 1
      See Also:
    • DIRECTION_DEFAULT_VALUE

      public static final float[] DIRECTION_DEFAULT_VALUE
      SFVec3f field named direction has default value {1f,0f,0f} (Java syntax) or 1 0 0 (XML syntax).
    • ENABLED_DEFAULT_VALUE

      public static final boolean ENABLED_DEFAULT_VALUE
      SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
      See Also:
    • GUSTINESS_DEFAULT_VALUE

      public static final float GUSTINESS_DEFAULT_VALUE
      SFFloat field named gustiness has default value 0.1f (Java syntax) or 0.1 (XML syntax).
      See Also:
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • SPEED_DEFAULT_VALUE

      public static final float SPEED_DEFAULT_VALUE
      SFFloat field named speed has default value 0.1f (Java syntax) or 0.1 (XML syntax).
      See Also:
    • TURBULENCE_DEFAULT_VALUE

      public static final float TURBULENCE_DEFAULT_VALUE
      SFFloat field named turbulence has default value 0f (Java syntax) or 0 (XML syntax).
      See Also:
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.
      See Also:
    • fromField_DIRECTION

      public static final String fromField_DIRECTION
      fromField ROUTE name for SFVec3f field named direction.
      See Also:
    • toField_DIRECTION

      public static final String toField_DIRECTION
      toField ROUTE name for SFVec3f field named direction.
      See Also:
    • fromField_ENABLED

      public static final String fromField_ENABLED
      fromField ROUTE name for SFBool field named enabled.
      See Also:
    • toField_ENABLED

      public static final String toField_ENABLED
      toField ROUTE name for SFBool field named enabled.
      See Also:
    • fromField_GUSTINESS

      public static final String fromField_GUSTINESS
      fromField ROUTE name for SFFloat field named gustiness.
      See Also:
    • toField_GUSTINESS

      public static final String toField_GUSTINESS
      toField ROUTE name for SFFloat field named gustiness.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • fromField_SPEED

      public static final String fromField_SPEED
      fromField ROUTE name for SFFloat field named speed.
      See Also:
    • toField_SPEED

      public static final String toField_SPEED
      toField ROUTE name for SFFloat field named speed.
      See Also:
    • fromField_TURBULENCE

      public static final String fromField_TURBULENCE
      fromField ROUTE name for SFFloat field named turbulence.
      See Also:
    • toField_TURBULENCE

      public static final String toField_TURBULENCE
      toField ROUTE name for SFFloat field named turbulence.
      See Also:
  • Constructor Details

    • WindPhysicsModel

      public WindPhysicsModel()
      Constructor for WindPhysicsModel to initialize member variables with default values.
    • WindPhysicsModel

      public WindPhysicsModel(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details