Class FillProperties

All Implemented Interfaces:
X3DNode, FillProperties, X3DAppearanceChildNode

public class FillProperties extends X3DConcreteNode implements FillProperties
FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape.

X3D node tooltip: [X3DAppearanceChildNode] FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape. Hatches are applied on top of the already rendered appearance of the node, and are not affected by lighting.
  • Hint: DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
  • Warning: requires X3D profile='Full' or else include <component name='Shape' level='3'/>

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:
X3D Abstract Specification: FillProperties, X3D Tooltips: FillProperties, X3D Scene Authoring Hints
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: FillProperties.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the FillProperties element: Shape
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Shape component level for this element: 3
      See Also:
      Constant Field Values
    • FILLED_DEFAULT_VALUE

      public static final boolean FILLED_DEFAULT_VALUE
      SFBool field named filled has default value true (Java syntax) or true (XML syntax).
      See Also:
      Constant Field Values
    • HATCHCOLOR_DEFAULT_VALUE

      public static final float[] HATCHCOLOR_DEFAULT_VALUE
      SFColor field named hatchColor has default value {1f,1f,1f} (Java syntax) or 1 1 1 (XML syntax).
    • HATCHED_DEFAULT_VALUE

      public static final boolean HATCHED_DEFAULT_VALUE
      SFBool field named hatched has default value true (Java syntax) or true (XML syntax).
      See Also:
      Constant Field Values
    • HATCHSTYLE_DEFAULT_VALUE

      public static final int HATCHSTYLE_DEFAULT_VALUE
      SFInt32 field named hatchStyle has default value 1 (Java syntax) or 1 (XML syntax).
      See Also:
      Constant Field Values
    • 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).
    • 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:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_FILLED

      public static final String fromField_FILLED
      fromField ROUTE name for SFBool field named filled.
      See Also:
      Constant Field Values
    • toField_FILLED

      public static final String toField_FILLED
      toField ROUTE name for SFBool field named filled.
      See Also:
      Constant Field Values
    • fromField_HATCHCOLOR

      public static final String fromField_HATCHCOLOR
      fromField ROUTE name for SFColor field named hatchColor.
      See Also:
      Constant Field Values
    • toField_HATCHCOLOR

      public static final String toField_HATCHCOLOR
      toField ROUTE name for SFColor field named hatchColor.
      See Also:
      Constant Field Values
    • fromField_HATCHED

      public static final String fromField_HATCHED
      fromField ROUTE name for SFBool field named hatched.
      See Also:
      Constant Field Values
    • toField_HATCHED

      public static final String toField_HATCHED
      toField ROUTE name for SFBool field named hatched.
      See Also:
      Constant Field Values
    • fromField_HATCHSTYLE

      public static final String fromField_HATCHSTYLE
      fromField ROUTE name for SFInt32 field named hatchStyle.
      See Also:
      Constant Field Values
    • toField_HATCHSTYLE

      public static final String toField_HATCHSTYLE
      toField ROUTE name for SFInt32 field named hatchStyle.
      See Also:
      Constant Field Values
    • fromField_IS

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

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

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
  • Constructor Details

    • FillProperties

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

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