Class PixelTexture

All Implemented Interfaces:
X3DNode, X3DAppearanceChildNode, PixelTexture, X3DSingleTextureNode, X3DTexture2DNode, X3DTextureNode

public class PixelTexture extends X3DConcreteNode implements PixelTexture
PixelTexture creates a 2D-image texture map using a numeric array of pixel values.

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. PixelTexture node tooltip: [X3DTexture2DNode] PixelTexture creates a 2D-image texture map using a numeric array of pixel values. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
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: PixelTexture.
      See Also:
    • COMPONENT

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

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

      public static final String DESCRIPTION_DEFAULT_VALUE
      SFString field named description has default value equal to an empty string.
      See Also:
    • IMAGE_DEFAULT_VALUE

      public static final ArrayList<Integer> IMAGE_DEFAULT_VALUE
      SFImage field named image has default value {0,0,0} (Java syntax) or 0 0 0 (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).
    • REPEATS_DEFAULT_VALUE

      public static final boolean REPEATS_DEFAULT_VALUE
      SFBool field named repeatS has default value true (Java syntax) or true (XML syntax).
      See Also:
    • REPEATT_DEFAULT_VALUE

      public static final boolean REPEATT_DEFAULT_VALUE
      SFBool field named repeatT has default value true (Java syntax) or true (XML syntax).
      See Also:
    • TEXTUREPROPERTIES_DEFAULT_VALUE

      public static final TextureProperties TEXTUREPROPERTIES_DEFAULT_VALUE
      SFNode field named textureProperties 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, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "texture";
      containerField_ALLOWED_VALUES = {"texture", "back", "bottom", "front", "left", "right", "top", "backTexture", "bottomTexture", "frontTexture", "leftTexture", "rightTexture", "topTexture" }; type X3DUOM containerFieldChoicesX3DTexture2DNode
      See Also:
    • fromField_DESCRIPTION

      public static final String fromField_DESCRIPTION
      fromField ROUTE name for SFString field named description.
      See Also:
    • toField_DESCRIPTION

      public static final String toField_DESCRIPTION
      toField ROUTE name for SFString field named description.
      See Also:
    • fromField_IMAGE

      public static final String fromField_IMAGE
      fromField ROUTE name for SFImage field named image.
      See Also:
    • toField_IMAGE

      public static final String toField_IMAGE
      toField ROUTE name for SFImage field named image.
      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:
  • Constructor Details

    • PixelTexture

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

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