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.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification, X3D Abstract Specification, X3D Tooltips, X3D Scene Authoring Hints: Images
  • 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.
    setDescription​(String newValue)
    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:
      X3D Scene Authoring Hints: Metadata Nodes
    • 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:
      X3D Scene Authoring Hints: Metadata Nodes
    • 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).