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:
  • Field Details

    • NAME

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

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

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

      public static final float[] EMISSIVECOLOR_DEFAULT_VALUE
      SFColor field named emissiveColor has default value {1f,1f,1f} (Java syntax) or 1 1 1 (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:
    • 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:
    • 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:
    • 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:
    • 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_EMISSIVECOLOR

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String toField_TRANSPARENCY
      toField ROUTE name for SFFloat field named transparency.
      See Also:
  • 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