Interface X3DTextureProjectorNode

All Superinterfaces:
X3DChildNode, X3DLightNode, X3DNode
All Known Subinterfaces:
TextureProjector, TextureProjectorParallel
All Known Implementing Classes:
TextureProjector, TextureProjectorParallel

public interface X3DTextureProjectorNode
extends X3DLightNode
Base type for all node types that specify projective texture mapping, a form of lighting.


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
    float getAmbientIntensity()
    Provide float value within allowed range of [0,1] from inputOutput SFFloat field named ambientIntensity.
    float getAspectRatio()
    Provide float value within allowed range of (0,infinity) from outputOnly SFFloat field named aspectRatio.
    float[] getColor()
    Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named color.
    java.lang.String getDescription()
    Provide String value from inputOutput SFString field named description.
    float[] getDirection()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named direction.
    float getFarDistance()
    Provide float value within allowed range of [-1,infinity) from inputOutput SFFloat field named farDistance.
    boolean getGlobal()
    Provide boolean value from inputOutput SFBool field named global.
    float getIntensity()
    Provide float value within allowed range of [0,1] from inputOutput SFFloat field named intensity.
    float[] getLocation()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named location.
    X3DMetadataObject getMetadata()
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    float getNearDistance()
    Provide float value within allowed range of [-1,infinity) from inputOutput SFFloat field named nearDistance.
    boolean getOn()
    Provide boolean value from inputOutput SFBool field named on.
    float getShadowIntensity()
    Provide float value within allowed range of [0,1] from inputOutput SFFloat field named shadowIntensity.
    boolean getShadows()
    Provide boolean value from inputOutput SFBool field named shadows.
    X3DTexture2DNode getTexture()
    Provide org.web3d.x3d.sai.Texturing.X3DTexture2DNode instance (using a properly typed node) from inputOutput SFNode field texture.
    X3DTextureProjectorNode setAmbientIntensity​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named ambientIntensity.
    X3DTextureProjectorNode setColor​(float[] newValue)
    Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.
    X3DTextureProjectorNode setDescription​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named description.
    X3DTextureProjectorNode setDirection​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.
    X3DTextureProjectorNode setFarDistance​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named farDistance.
    X3DTextureProjectorNode setGlobal​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named global.
    X3DTextureProjectorNode setIntensity​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named intensity.
    X3DTextureProjectorNode setLocation​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named location.
    X3DTextureProjectorNode setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    X3DTextureProjectorNode setNearDistance​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named nearDistance.
    X3DTextureProjectorNode setOn​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named on.
    X3DTextureProjectorNode setShadowIntensity​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named shadowIntensity.
    X3DTextureProjectorNode setShadows​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named shadows.
    X3DTextureProjectorNode setTexture​(X3DTexture2DNode newValue)
    Accessor method to assign org.web3d.x3d.sai.Texturing.X3DTexture2DNode instance (using a properly typed node) to inputOutput SFNode field texture.
  • Method Details

    • getAmbientIntensity

      float getAmbientIntensity()
      Provide float value within allowed range of [0,1] from inputOutput SFFloat field named ambientIntensity.
      Specified by:
      getAmbientIntensity in interface X3DLightNode
      Returns:
      value of ambientIntensity field
    • setAmbientIntensity

      X3DTextureProjectorNode setAmbientIntensity​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named ambientIntensity.
      Specified by:
      setAmbientIntensity in interface X3DLightNode
      Parameters:
      newValue - is new value for the ambientIntensity field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAspectRatio

      float getAspectRatio()
      Provide float value within allowed range of (0,infinity) from outputOnly SFFloat field named aspectRatio.
      Returns:
      value of aspectRatio field
    • getColor

      float[] getColor()
      Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named color.
      Specified by:
      getColor in interface X3DLightNode
      Returns:
      value of color field
    • setColor

      X3DTextureProjectorNode setColor​(float[] newValue)
      Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.
      Specified by:
      setColor in interface X3DLightNode
      Parameters:
      newValue - is new value for the color field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDescription

      java.lang.String getDescription()
      Provide String value from inputOutput SFString field named description.
      Returns:
      value of description field
    • setDescription

      X3DTextureProjectorNode setDescription​(java.lang.String newValue)
      Accessor method to assign String value to inputOutput SFString field named description.
      Parameters:
      newValue - is new value for the description field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDirection

      float[] getDirection()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named direction.
      Returns:
      value of direction field
    • setDirection

      X3DTextureProjectorNode setDirection​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.
      Parameters:
      newValue - is new value for the direction field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getFarDistance

      float getFarDistance()
      Provide float value within allowed range of [-1,infinity) from inputOutput SFFloat field named farDistance.
      Returns:
      value of farDistance field
    • setFarDistance

      X3DTextureProjectorNode setFarDistance​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named farDistance.
      Parameters:
      newValue - is new value for the farDistance field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getGlobal

      boolean getGlobal()
      Provide boolean value from inputOutput SFBool field named global.
      Returns:
      value of global field
    • setGlobal

      X3DTextureProjectorNode setGlobal​(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named global.
      Parameters:
      newValue - is new value for the global field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getIntensity

      float getIntensity()
      Provide float value within allowed range of [0,1] from inputOutput SFFloat field named intensity.
      Specified by:
      getIntensity in interface X3DLightNode
      Returns:
      value of intensity field
    • setIntensity

      X3DTextureProjectorNode setIntensity​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named intensity.
      Specified by:
      setIntensity in interface X3DLightNode
      Parameters:
      newValue - is new value for the intensity field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getLocation

      float[] getLocation()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named location.
      Returns:
      value of location field
    • setLocation

      X3DTextureProjectorNode setLocation​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named location.
      Parameters:
      newValue - is new value for the location field.
      Returns:
      X3DTextureProjectorNode - 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 X3DChildNode
      Specified by:
      getMetadata in interface X3DLightNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      X3DTextureProjectorNode 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 X3DChildNode
      Specified by:
      setMetadata in interface X3DLightNode
      Specified by:
      setMetadata in interface X3DNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      X3DTextureProjectorNode - 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
    • getNearDistance

      float getNearDistance()
      Provide float value within allowed range of [-1,infinity) from inputOutput SFFloat field named nearDistance.
      Returns:
      value of nearDistance field
    • setNearDistance

      X3DTextureProjectorNode setNearDistance​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named nearDistance.
      Parameters:
      newValue - is new value for the nearDistance field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getOn

      boolean getOn()
      Provide boolean value from inputOutput SFBool field named on.
      Specified by:
      getOn in interface X3DLightNode
      Returns:
      value of on field
    • setOn

      X3DTextureProjectorNode setOn​(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named on.
      Specified by:
      setOn in interface X3DLightNode
      Parameters:
      newValue - is new value for the on field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getShadowIntensity

      float getShadowIntensity()
      Provide float value within allowed range of [0,1] from inputOutput SFFloat field named shadowIntensity.
      Specified by:
      getShadowIntensity in interface X3DLightNode
      Returns:
      value of shadowIntensity field
    • setShadowIntensity

      X3DTextureProjectorNode setShadowIntensity​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named shadowIntensity.
      Specified by:
      setShadowIntensity in interface X3DLightNode
      Parameters:
      newValue - is new value for the shadowIntensity field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getShadows

      boolean getShadows()
      Provide boolean value from inputOutput SFBool field named shadows.
      Specified by:
      getShadows in interface X3DLightNode
      Returns:
      value of shadows field
    • setShadows

      X3DTextureProjectorNode setShadows​(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named shadows.
      Specified by:
      setShadows in interface X3DLightNode
      Parameters:
      newValue - is new value for the shadows field.
      Returns:
      X3DTextureProjectorNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getTexture

      X3DTexture2DNode getTexture()
      Provide org.web3d.x3d.sai.Texturing.X3DTexture2DNode instance (using a properly typed node) from inputOutput SFNode field texture.
      Returns:
      value of texture field
    • setTexture

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