Class ColorDamper

All Implemented Interfaces:
X3DChildNode, X3DNode, ColorDamper, X3DDamperNode, X3DFollowerNode

public class ColorDamper extends X3DConcreteNode implements ColorDamper
ColorDamper generates a series of RGB color values that progressively change from initial value to destination value.

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. ColorDamper node tooltip: (X3D version 3.2 or later) [X3DDamperNode] ColorDamper generates a series of RGB color values that progressively change from initial value to destination value.
Note that SFColor provides a variety of color constants.

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: ColorDamper.
      See Also:
    • COMPONENT

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

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

      public static final float[] INITIALDESTINATION_DEFAULT_VALUE
      SFColor field named initialDestination has default value {0.8f,0.8f,0.8f} (Java syntax) or 0.8 0.8 0.8 (XML syntax).
    • INITIALVALUE_DEFAULT_VALUE

      public static final float[] INITIALVALUE_DEFAULT_VALUE
      SFColor field named initialValue has default value {0.8f,0.8f,0.8f} (Java syntax) or 0.8 0.8 0.8 (XML syntax).
    • 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).
    • ORDER_DEFAULT_VALUE

      public static final int ORDER_DEFAULT_VALUE
      SFInt32 field named order has default value 3 (Java syntax) or 3 (XML syntax).
      See Also:
    • TAU_DEFAULT_VALUE

      public static final double TAU_DEFAULT_VALUE
      SFTime field named tau has default value 0.3 (Java syntax) or 0.3 (XML syntax).
      See Also:
    • TOLERANCE_DEFAULT_VALUE

      public static final float TOLERANCE_DEFAULT_VALUE
      SFFloat field named tolerance has default value -1f (Java syntax) or -1 (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, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "children";
      containerField_ALLOWED_VALUES = {"children" }; type xs:NMTOKEN
      See Also:
    • fromField_IS

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

      public static final String fromField_ISACTIVE
      fromField ROUTE name for SFBool field named isActive.
      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:
    • toField_SET_DESTINATION

      public static final String toField_SET_DESTINATION
      toField ROUTE name for SFColor field named set_destination.
      See Also:
    • toField_SET_VALUE

      public static final String toField_SET_VALUE
      toField ROUTE name for SFColor field named set_value.
      See Also:
    • fromField_TAU

      public static final String fromField_TAU
      fromField ROUTE name for SFTime field named tau.
      See Also:
    • toField_TAU

      public static final String toField_TAU
      toField ROUTE name for SFTime field named tau.
      See Also:
    • fromField_TOLERANCE

      public static final String fromField_TOLERANCE
      fromField ROUTE name for SFFloat field named tolerance.
      See Also:
    • toField_TOLERANCE

      public static final String toField_TOLERANCE
      toField ROUTE name for SFFloat field named tolerance.
      See Also:
    • fromField_VALUE_CHANGED

      public static final String fromField_VALUE_CHANGED
      fromField ROUTE name for SFColor field named value_changed.
      See Also:
  • Constructor Details

    • ColorDamper

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

      public ColorDamper(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