Class UnlitMaterial

All Implemented Interfaces:
X3DNode, UnlitMaterial, X3DAppearanceChildNode, X3DMaterialNode, X3DOneSidedMaterialNode

public class UnlitMaterial extends X3DConcreteNode implements UnlitMaterial
UnlitMaterial specifies surface rendering properties for associated geometry nodes.

X3D node tooltip: (X3D version 4.0 draft) [X3DOneSidedMaterialNode] UnlitMaterial specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
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: UnlitMaterial, X3D Tooltips: UnlitMaterial, X3D Scene Authoring Hints
  • Field Details

    • NAME

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

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the UnlitMaterial 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: 1
      See Also:
      Constant Field Values
    • EMISSIVECOLOR_DEFAULT_VALUE

      public static final float[] EMISSIVECOLOR_DEFAULT_VALUE
      SFColor field named emissiveColor has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
    • EMISSIVETEXTURE_DEFAULT_VALUE

      public static final X3DSingleTextureNode EMISSIVETEXTURE_DEFAULT_VALUE
      SFNode field named emissiveTexture has default value null (Java syntax) or NULL (XML syntax).
    • EMISSIVETEXTUREMAPPING_DEFAULT_VALUE

      public static final String EMISSIVETEXTUREMAPPING_DEFAULT_VALUE
      SFString field named emissiveTextureMapping has default value equal to an empty string.
      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).
    • NORMALSCALE_DEFAULT_VALUE

      public static final float NORMALSCALE_DEFAULT_VALUE
      SFFloat field named normalScale has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
      Constant Field Values
    • NORMALTEXTURE_DEFAULT_VALUE

      public static final X3DSingleTextureNode NORMALTEXTURE_DEFAULT_VALUE
      SFNode field named normalTexture has default value null (Java syntax) or NULL (XML syntax).
    • NORMALTEXTUREMAPPING_DEFAULT_VALUE

      public static final String NORMALTEXTUREMAPPING_DEFAULT_VALUE
      SFString field named normalTextureMapping has default value equal to an empty string.
      See Also:
      Constant Field Values
    • TRANSPARENCY_DEFAULT_VALUE

      public static final float TRANSPARENCY_DEFAULT_VALUE
      SFFloat field named transparency has default value 0f (Java syntax) or 0 (XML syntax).
      See Also:
      Constant Field Values
    • 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_EMISSIVECOLOR

      public static final String fromField_EMISSIVECOLOR
      fromField ROUTE name for SFColor field named emissiveColor.
      See Also:
      Constant Field Values
    • toField_EMISSIVECOLOR

      public static final String toField_EMISSIVECOLOR
      toField ROUTE name for SFColor field named emissiveColor.
      See Also:
      Constant Field Values
    • fromField_EMISSIVETEXTURE

      public static final String fromField_EMISSIVETEXTURE
      fromField ROUTE name for SFNode field named emissiveTexture.
      See Also:
      Constant Field Values
    • toField_EMISSIVETEXTURE

      public static final String toField_EMISSIVETEXTURE
      toField ROUTE name for SFNode field named emissiveTexture.
      See Also:
      Constant Field Values
    • fromField_EMISSIVETEXTUREMAPPING

      public static final String fromField_EMISSIVETEXTUREMAPPING
      fromField ROUTE name for SFString field named emissiveTextureMapping.
      See Also:
      Constant Field Values
    • toField_EMISSIVETEXTUREMAPPING

      public static final String toField_EMISSIVETEXTUREMAPPING
      toField ROUTE name for SFString field named emissiveTextureMapping.
      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
    • fromField_NORMALSCALE

      public static final String fromField_NORMALSCALE
      fromField ROUTE name for SFFloat field named normalScale.
      See Also:
      Constant Field Values
    • toField_NORMALSCALE

      public static final String toField_NORMALSCALE
      toField ROUTE name for SFFloat field named normalScale.
      See Also:
      Constant Field Values
    • fromField_NORMALTEXTURE

      public static final String fromField_NORMALTEXTURE
      fromField ROUTE name for SFNode field named normalTexture.
      See Also:
      Constant Field Values
    • toField_NORMALTEXTURE

      public static final String toField_NORMALTEXTURE
      toField ROUTE name for SFNode field named normalTexture.
      See Also:
      Constant Field Values
    • fromField_NORMALTEXTUREMAPPING

      public static final String fromField_NORMALTEXTUREMAPPING
      fromField ROUTE name for SFString field named normalTextureMapping.
      See Also:
      Constant Field Values
    • toField_NORMALTEXTUREMAPPING

      public static final String toField_NORMALTEXTUREMAPPING
      toField ROUTE name for SFString field named normalTextureMapping.
      See Also:
      Constant Field Values
    • fromField_TRANSPARENCY

      public static final String fromField_TRANSPARENCY
      fromField ROUTE name for SFFloat field named transparency.
      See Also:
      Constant Field Values
    • toField_TRANSPARENCY

      public static final String toField_TRANSPARENCY
      toField ROUTE name for SFFloat field named transparency.
      See Also:
      Constant Field Values
  • Constructor Details

    • UnlitMaterial

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

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