Class TextureProperties

All Implemented Interfaces:
X3DNode, TextureProperties

public class TextureProperties extends X3DConcreteNode implements TextureProperties
TextureProperties allows precise fine-grained control over application of image textures to geometry.

X3D node tooltip: [X3DNode] TextureProperties allows precise fine-grained control over application of image textures to geometry.
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

    • BOUNDARYMODER_CLAMP

      public static final String BOUNDARYMODER_CLAMP
      Tooltip: Clamp texture coordinates to range [0,1]. SFString field named boundaryModeR with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP" (Java syntax) or CLAMP (XML syntax).
      See Also:
    • BOUNDARYMODER_CLAMP_TO_EDGE

      public static final String BOUNDARYMODER_CLAMP_TO_EDGE
      Tooltip: Clamp texture coordinates such that a border texel is never sampled. SFString field named boundaryModeR with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
      See Also:
    • BOUNDARYMODER_CLAMP_TO_BOUNDARY

      public static final String BOUNDARYMODER_CLAMP_TO_BOUNDARY
      Tooltip: Clamp texture coordinates such that texture samples are border texels for fragments. SFString field named boundaryModeR with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
      See Also:
    • BOUNDARYMODER_MIRRORED_REPEAT

      public static final String BOUNDARYMODER_MIRRORED_REPEAT
      Tooltip: Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE. SFString field named boundaryModeR with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODER_REPEAT

      public static final String BOUNDARYMODER_REPEAT
      Tooltip: Repeat a texture across the fragment. SFString field named boundaryModeR with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODES_CLAMP

      public static final String BOUNDARYMODES_CLAMP
      Tooltip: Clamp texture coordinates to range [0,1]. SFString field named boundaryModeS with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP" (Java syntax) or CLAMP (XML syntax).
      See Also:
    • BOUNDARYMODES_CLAMP_TO_EDGE

      public static final String BOUNDARYMODES_CLAMP_TO_EDGE
      Tooltip: Clamp texture coordinates such that a border texel is never sampled. SFString field named boundaryModeS with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
      See Also:
    • BOUNDARYMODES_CLAMP_TO_BOUNDARY

      public static final String BOUNDARYMODES_CLAMP_TO_BOUNDARY
      Tooltip: Clamp texture coordinates such that texture samples are border texels for fragments. SFString field named boundaryModeS with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
      See Also:
    • BOUNDARYMODES_MIRRORED_REPEAT

      public static final String BOUNDARYMODES_MIRRORED_REPEAT
      Tooltip: Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE. SFString field named boundaryModeS with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODES_REPEAT

      public static final String BOUNDARYMODES_REPEAT
      Tooltip: Repeat a texture across the fragment. SFString field named boundaryModeS with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODET_CLAMP

      public static final String BOUNDARYMODET_CLAMP
      Tooltip: Clamp texture coordinates to range [0,1]. SFString field named boundaryModeT with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP" (Java syntax) or CLAMP (XML syntax).
      See Also:
    • BOUNDARYMODET_CLAMP_TO_EDGE

      public static final String BOUNDARYMODET_CLAMP_TO_EDGE
      Tooltip: Clamp texture coordinates such that a border texel is never sampled. SFString field named boundaryModeT with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
      See Also:
    • BOUNDARYMODET_CLAMP_TO_BOUNDARY

      public static final String BOUNDARYMODET_CLAMP_TO_BOUNDARY
      Tooltip: Clamp texture coordinates such that texture samples are border texels for fragments. SFString field named boundaryModeT with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
      See Also:
    • BOUNDARYMODET_MIRRORED_REPEAT

      public static final String BOUNDARYMODET_MIRRORED_REPEAT
      Tooltip: Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE. SFString field named boundaryModeT with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODET_REPEAT

      public static final String BOUNDARYMODET_REPEAT
      Tooltip: Repeat a texture across the fragment. SFString field named boundaryModeT with X3DUOM simpleType textureBoundaryModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • MAGNIFICATIONFILTER_AVG_PIXEL

      public static final String MAGNIFICATIONFILTER_AVG_PIXEL
      Tooltip: weighted average of four texture elements closest to center of pixel being textured. SFString field named magnificationFilter with X3DUOM simpleType textureMagnificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "AVG_PIXEL" (Java syntax) or AVG_PIXEL (XML syntax).
      See Also:
    • MAGNIFICATIONFILTER_DEFAULT

      public static final String MAGNIFICATIONFILTER_DEFAULT
      Tooltip: browser-specified default magnification mode. SFString field named magnificationFilter with X3DUOM simpleType textureMagnificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
      See Also:
    • MAGNIFICATIONFILTER_FASTEST

      public static final String MAGNIFICATIONFILTER_FASTEST
      Tooltip: fastest method available. SFString field named magnificationFilter with X3DUOM simpleType textureMagnificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • MAGNIFICATIONFILTER_NEAREST_PIXEL

      public static final String MAGNIFICATIONFILTER_NEAREST_PIXEL
      Tooltip: texture element nearest to the center of pixel being textured. SFString field named magnificationFilter with X3DUOM simpleType textureMagnificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NEAREST_PIXEL" (Java syntax) or NEAREST_PIXEL (XML syntax).
      See Also:
    • MAGNIFICATIONFILTER_NICEST

      public static final String MAGNIFICATIONFILTER_NICEST
      Tooltip: highest quality method available. SFString field named magnificationFilter with X3DUOM simpleType textureMagnificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NICEST" (Java syntax) or NICEST (XML syntax).
      See Also:
    • MINIFICATIONFILTER_AVG_PIXEL

      public static final String MINIFICATIONFILTER_AVG_PIXEL
      Tooltip: weighted average of four texture elements closest to center of pixel being textured. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "AVG_PIXEL" (Java syntax) or AVG_PIXEL (XML syntax).
      See Also:
    • MINIFICATIONFILTER_AVG_PIXEL_AVG_MIPMAP

      public static final String MINIFICATIONFILTER_AVG_PIXEL_AVG_MIPMAP
      Tooltip: tri-linear mipmap filtering. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "AVG_PIXEL_AVG_MIPMAP" (Java syntax) or AVG_PIXEL_AVG_MIPMAP (XML syntax).
      See Also:
    • MINIFICATIONFILTER_AVG_PIXEL_NEAREST_MIPMAP

      public static final String MINIFICATIONFILTER_AVG_PIXEL_NEAREST_MIPMAP
      Tooltip: choose mipmap that most closely matches size of pixel being textured, use weighted average of four texture elements closest to center of pixel. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "AVG_PIXEL_NEAREST_MIPMAP" (Java syntax) or AVG_PIXEL_NEAREST_MIPMAP (XML syntax).
      See Also:
    • MINIFICATIONFILTER_DEFAULT

      public static final String MINIFICATIONFILTER_DEFAULT
      Tooltip: browser-specified default minification mode. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
      See Also:
    • MINIFICATIONFILTER_FASTEST

      public static final String MINIFICATIONFILTER_FASTEST
      Tooltip: fastest method available, use mipmaps if possible. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • MINIFICATIONFILTER_NEAREST_PIXEL

      public static final String MINIFICATIONFILTER_NEAREST_PIXEL
      Tooltip: texture element nearest to center of pixel being textured. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NEAREST_PIXEL" (Java syntax) or NEAREST_PIXEL (XML syntax).
      See Also:
    • MINIFICATIONFILTER_NEAREST_PIXEL_AVG_MIPMAP

      public static final String MINIFICATIONFILTER_NEAREST_PIXEL_AVG_MIPMAP
      Tooltip: texture element nearest to center of pixel being textured, use average of two nearest mipmaps. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NEAREST_PIXEL_AVG_MIPMAP" (Java syntax) or NEAREST_PIXEL_AVG_MIPMAP (XML syntax).
      See Also:
    • MINIFICATIONFILTER_NEAREST_PIXEL_NEAREST_MIPMAP

      public static final String MINIFICATIONFILTER_NEAREST_PIXEL_NEAREST_MIPMAP
      Tooltip: texture element nearest to center of pixel being textured, use nearest mipmap. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NEAREST_PIXEL_NEAREST_MIPMAP" (Java syntax) or NEAREST_PIXEL_NEAREST_MIPMAP (XML syntax).
      See Also:
    • MINIFICATIONFILTER_NICEST

      public static final String MINIFICATIONFILTER_NICEST
      Tooltip: highest quality method available. SFString field named minificationFilter with X3DUOM simpleType textureMinificationModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NICEST" (Java syntax) or NICEST (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_DEFAULT

      public static final String TEXTURECOMPRESSION_DEFAULT
      Tooltip: browser-specified default compression mode. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_FASTEST

      public static final String TEXTURECOMPRESSION_FASTEST
      Tooltip: fastest method available. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_HIGH

      public static final String TEXTURECOMPRESSION_HIGH
      Tooltip: greatest amount of compression. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "HIGH" (Java syntax) or HIGH (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_LOW

      public static final String TEXTURECOMPRESSION_LOW
      Tooltip: least amount of compression. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "LOW" (Java syntax) or LOW (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_MEDIUM

      public static final String TEXTURECOMPRESSION_MEDIUM
      Tooltip: moderate amount of compressions. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "MEDIUM" (Java syntax) or MEDIUM (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_NICEST

      public static final String TEXTURECOMPRESSION_NICEST
      Tooltip: highest quality method available. SFString field named textureCompression with X3DUOM simpleType textureCompressionModeChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NICEST" (Java syntax) or NICEST (XML syntax).
      See Also:
    • NAME

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

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

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

      public static final float ANISOTROPICDEGREE_DEFAULT_VALUE
      SFFloat field named anisotropicDegree has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
    • BORDERCOLOR_DEFAULT_VALUE

      public static final float[] BORDERCOLOR_DEFAULT_VALUE
      SFColorRGBA field named borderColor has default value {0f,0f,0f,0f} (Java syntax) or 0 0 0 0 (XML syntax).
    • BORDERWIDTH_DEFAULT_VALUE

      public static final int BORDERWIDTH_DEFAULT_VALUE
      SFInt32 field named borderWidth has default value 0 (Java syntax) or 0 (XML syntax).
      See Also:
    • BOUNDARYMODER_DEFAULT_VALUE

      public static final String BOUNDARYMODER_DEFAULT_VALUE
      SFString field named boundaryModeR has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODES_DEFAULT_VALUE

      public static final String BOUNDARYMODES_DEFAULT_VALUE
      SFString field named boundaryModeS has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • BOUNDARYMODET_DEFAULT_VALUE

      public static final String BOUNDARYMODET_DEFAULT_VALUE
      SFString field named boundaryModeT has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
      See Also:
    • GENERATEMIPMAPS_DEFAULT_VALUE

      public static final boolean GENERATEMIPMAPS_DEFAULT_VALUE
      SFBool field named generateMipMaps has default value false (Java syntax) or false (XML syntax).
      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).
    • MAGNIFICATIONFILTER_DEFAULT_VALUE

      public static final String MAGNIFICATIONFILTER_DEFAULT_VALUE
      SFString field named magnificationFilter has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • MINIFICATIONFILTER_DEFAULT_VALUE

      public static final String MINIFICATIONFILTER_DEFAULT_VALUE
      SFString field named minificationFilter has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • TEXTURECOMPRESSION_DEFAULT_VALUE

      public static final String TEXTURECOMPRESSION_DEFAULT_VALUE
      SFString field named textureCompression has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
      See Also:
    • TEXTUREPRIORITY_DEFAULT_VALUE

      public static final float TEXTUREPRIORITY_DEFAULT_VALUE
      SFFloat field named texturePriority 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_ANISOTROPICDEGREE

      public static final String fromField_ANISOTROPICDEGREE
      fromField ROUTE name for SFFloat field named anisotropicDegree.
      See Also:
    • toField_ANISOTROPICDEGREE

      public static final String toField_ANISOTROPICDEGREE
      toField ROUTE name for SFFloat field named anisotropicDegree.
      See Also:
    • fromField_BORDERCOLOR

      public static final String fromField_BORDERCOLOR
      fromField ROUTE name for SFColorRGBA field named borderColor.
      See Also:
    • toField_BORDERCOLOR

      public static final String toField_BORDERCOLOR
      toField ROUTE name for SFColorRGBA field named borderColor.
      See Also:
    • fromField_BORDERWIDTH

      public static final String fromField_BORDERWIDTH
      fromField ROUTE name for SFInt32 field named borderWidth.
      See Also:
    • toField_BORDERWIDTH

      public static final String toField_BORDERWIDTH
      toField ROUTE name for SFInt32 field named borderWidth.
      See Also:
    • fromField_BOUNDARYMODER

      public static final String fromField_BOUNDARYMODER
      fromField ROUTE name for SFString field named boundaryModeR.
      See Also:
    • toField_BOUNDARYMODER

      public static final String toField_BOUNDARYMODER
      toField ROUTE name for SFString field named boundaryModeR.
      See Also:
    • fromField_BOUNDARYMODES

      public static final String fromField_BOUNDARYMODES
      fromField ROUTE name for SFString field named boundaryModeS.
      See Also:
    • toField_BOUNDARYMODES

      public static final String toField_BOUNDARYMODES
      toField ROUTE name for SFString field named boundaryModeS.
      See Also:
    • fromField_BOUNDARYMODET

      public static final String fromField_BOUNDARYMODET
      fromField ROUTE name for SFString field named boundaryModeT.
      See Also:
    • toField_BOUNDARYMODET

      public static final String toField_BOUNDARYMODET
      toField ROUTE name for SFString field named boundaryModeT.
      See Also:
    • fromField_IS

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

      public static final String fromField_MAGNIFICATIONFILTER
      fromField ROUTE name for SFString field named magnificationFilter.
      See Also:
    • toField_MAGNIFICATIONFILTER

      public static final String toField_MAGNIFICATIONFILTER
      toField ROUTE name for SFString field named magnificationFilter.
      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_MINIFICATIONFILTER

      public static final String fromField_MINIFICATIONFILTER
      fromField ROUTE name for SFString field named minificationFilter.
      See Also:
    • toField_MINIFICATIONFILTER

      public static final String toField_MINIFICATIONFILTER
      toField ROUTE name for SFString field named minificationFilter.
      See Also:
    • fromField_TEXTURECOMPRESSION

      public static final String fromField_TEXTURECOMPRESSION
      fromField ROUTE name for SFString field named textureCompression.
      See Also:
    • toField_TEXTURECOMPRESSION

      public static final String toField_TEXTURECOMPRESSION
      toField ROUTE name for SFString field named textureCompression.
      See Also:
    • fromField_TEXTUREPRIORITY

      public static final String fromField_TEXTUREPRIORITY
      fromField ROUTE name for SFFloat field named texturePriority.
      See Also:
    • toField_TEXTUREPRIORITY

      public static final String toField_TEXTUREPRIORITY
      toField ROUTE name for SFFloat field named texturePriority.
      See Also:
  • Constructor Details

    • TextureProperties

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

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