Interface X3DTexture2DNode

All Superinterfaces:
X3DAppearanceChildNode, X3DNode, X3DSingleTextureNode, X3DTextureNode
All Known Subinterfaces:
ImageTexture, MovieTexture, PixelTexture
All Known Implementing Classes:
ImageTexture, MovieTexture, PixelTexture

public interface X3DTexture2DNode extends X3DSingleTextureNode
Base type for all nodes which specify 2D sources for texture images.

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.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Provide String value from inputOutput SFString field named description.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    boolean
    Provide boolean value from initializeOnly SFBool field named repeatS.
    boolean
    Provide boolean value from initializeOnly SFBool field named repeatT.
    Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.
    Accessor method to assign String value to inputOutput SFString field named description.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    setRepeatS(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.
    setRepeatT(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.
    Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.
  • Method Details

    • getDescription

      String getDescription()
      Provide String value from inputOutput SFString field named description.
      Specified by:
      getDescription in interface X3DSingleTextureNode
      Specified by:
      getDescription in interface X3DTextureNode
      Returns:
      value of description field
    • setDescription

      X3DTexture2DNode setDescription(String newValue)
      Accessor method to assign String value to inputOutput SFString field named description.
      Specified by:
      setDescription in interface X3DSingleTextureNode
      Specified by:
      setDescription in interface X3DTextureNode
      Parameters:
      newValue - is new value for the description field.
      Returns:
      X3DTexture2DNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface X3DAppearanceChildNode
      Specified by:
      getMetadata in interface X3DNode
      Specified by:
      getMetadata in interface X3DSingleTextureNode
      Specified by:
      getMetadata in interface X3DTextureNode
      Returns:
      value of metadata field
      See Also:
    • setMetadata

      X3DTexture2DNode setMetadata(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DAppearanceChildNode
      Specified by:
      setMetadata in interface X3DNode
      Specified by:
      setMetadata in interface X3DSingleTextureNode
      Specified by:
      setMetadata in interface X3DTextureNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      X3DTexture2DNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • getRepeatS

      boolean getRepeatS()
      Provide boolean value from initializeOnly SFBool field named repeatS.
      Returns:
      value of repeatS field
    • setRepeatS

      X3DTexture2DNode setRepeatS(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.
      Parameters:
      newValue - is new value for the repeatS field.
      Returns:
      X3DTexture2DNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getRepeatT

      boolean getRepeatT()
      Provide boolean value from initializeOnly SFBool field named repeatT.
      Returns:
      value of repeatT field
    • setRepeatT

      X3DTexture2DNode setRepeatT(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.
      Parameters:
      newValue - is new value for the repeatT field.
      Returns:
      X3DTexture2DNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getTextureProperties

      TextureProperties getTextureProperties()
      Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.
      Returns:
      value of textureProperties field
    • setTextureProperties

      X3DTexture2DNode setTextureProperties(TextureProperties newValue)
      Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.
      Parameters:
      newValue - is new value for the textureProperties field.
      Returns:
      X3DTexture2DNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).