Class TextureProjector

All Implemented Interfaces:
X3DChildNode, X3DNode, X3DLightNode, TextureProjector, X3DTextureProjectorNode

public class TextureProjector extends X3DConcreteNode implements TextureProjector
TextureProjector is similar to a light that projects a texture into the scene, illuminating geometry that intersects the perspective projection volume.

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. TextureProjector node tooltip: [X3DTextureProjectorNode] TextureProjector is similar to a light that projects a texture into the scene, illuminating geometry that intersects the perspective projection volume.
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: TextureProjector.
      See Also:
    • COMPONENT

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

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

      public static final float AMBIENTINTENSITY_DEFAULT_VALUE
      SFFloat field named ambientIntensity has default value 0f (Java syntax) or 0 (XML syntax).
      See Also:
    • COLOR_DEFAULT_VALUE

      public static final float[] COLOR_DEFAULT_VALUE
      SFColor field named color has default value {1f,1f,1f} (Java syntax) or 1 1 1 (XML syntax).
    • DESCRIPTION_DEFAULT_VALUE

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

      public static final float[] DIRECTION_DEFAULT_VALUE
      SFVec3f field named direction has default value {0f,0f,1f} (Java syntax) or 0 0 1 (XML syntax).
    • FARDISTANCE_DEFAULT_VALUE

      public static final float FARDISTANCE_DEFAULT_VALUE
      SFFloat field named farDistance has default value -1f (Java syntax) or -1 (XML syntax).
      See Also:
    • FIELDOFVIEW_DEFAULT_VALUE

      public static final float FIELDOFVIEW_DEFAULT_VALUE
      SFFloat field named fieldOfView has default value 0.7854f (Java syntax) or 0.7854 (XML syntax).
      See Also:
    • GLOBAL_DEFAULT_VALUE

      public static final boolean GLOBAL_DEFAULT_VALUE
      SFBool field named global has default value true (Java syntax) or true (XML syntax).
      See Also:
    • INTENSITY_DEFAULT_VALUE

      public static final float INTENSITY_DEFAULT_VALUE
      SFFloat field named intensity has default value 1f (Java syntax) or 1 (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).
    • LOCATION_DEFAULT_VALUE

      public static final float[] LOCATION_DEFAULT_VALUE
      SFVec3f field named location has default value {0f,0f,0f} (Java syntax) or 0 0 0 (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).
    • NEARDISTANCE_DEFAULT_VALUE

      public static final float NEARDISTANCE_DEFAULT_VALUE
      SFFloat field named nearDistance has default value -1f (Java syntax) or -1 (XML syntax).
      See Also:
    • ON_DEFAULT_VALUE

      public static final boolean ON_DEFAULT_VALUE
      SFBool field named on has default value true (Java syntax) or true (XML syntax).
      See Also:
    • SHADOWINTENSITY_DEFAULT_VALUE

      public static final float SHADOWINTENSITY_DEFAULT_VALUE
      SFFloat field named shadowIntensity has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
    • SHADOWS_DEFAULT_VALUE

      public static final boolean SHADOWS_DEFAULT_VALUE
      SFBool field named shadows has default value false (Java syntax) or false (XML syntax).
      See Also:
    • TEXTURE_DEFAULT_VALUE

      public static final X3DTexture2DNode TEXTURE_DEFAULT_VALUE
      SFNode field named texture has default value null (Java syntax) or NULL (XML syntax).
    • UPVECTOR_DEFAULT_VALUE

      public static final float[] UPVECTOR_DEFAULT_VALUE
      SFVec3f field named upVector has default value {0f,1f,0f} (Java syntax) or 0 1 0 (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 = "children";
      containerField_ALLOWED_VALUES = {"children" }; type xs:NMTOKEN
      See Also:
    • fromField_AMBIENTINTENSITY

      public static final String fromField_AMBIENTINTENSITY
      fromField ROUTE name for SFFloat field named ambientIntensity.
      See Also:
    • toField_AMBIENTINTENSITY

      public static final String toField_AMBIENTINTENSITY
      toField ROUTE name for SFFloat field named ambientIntensity.
      See Also:
    • fromField_ASPECTRATIO

      public static final String fromField_ASPECTRATIO
      fromField ROUTE name for SFFloat field named aspectRatio.
      See Also:
    • fromField_COLOR

      public static final String fromField_COLOR
      fromField ROUTE name for SFColor field named color.
      See Also:
    • toField_COLOR

      public static final String toField_COLOR
      toField ROUTE name for SFColor field named color.
      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_DIRECTION

      public static final String fromField_DIRECTION
      fromField ROUTE name for SFVec3f field named direction.
      See Also:
    • toField_DIRECTION

      public static final String toField_DIRECTION
      toField ROUTE name for SFVec3f field named direction.
      See Also:
    • fromField_FARDISTANCE

      public static final String fromField_FARDISTANCE
      fromField ROUTE name for SFFloat field named farDistance.
      See Also:
    • toField_FARDISTANCE

      public static final String toField_FARDISTANCE
      toField ROUTE name for SFFloat field named farDistance.
      See Also:
    • fromField_FIELDOFVIEW

      public static final String fromField_FIELDOFVIEW
      fromField ROUTE name for SFFloat field named fieldOfView.
      See Also:
    • toField_FIELDOFVIEW

      public static final String toField_FIELDOFVIEW
      toField ROUTE name for SFFloat field named fieldOfView.
      See Also:
    • fromField_GLOBAL

      public static final String fromField_GLOBAL
      fromField ROUTE name for SFBool field named global.
      See Also:
    • toField_GLOBAL

      public static final String toField_GLOBAL
      toField ROUTE name for SFBool field named global.
      See Also:
    • fromField_INTENSITY

      public static final String fromField_INTENSITY
      fromField ROUTE name for SFFloat field named intensity.
      See Also:
    • toField_INTENSITY

      public static final String toField_INTENSITY
      toField ROUTE name for SFFloat field named intensity.
      See Also:
    • fromField_IS

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

      public static final String fromField_LOCATION
      fromField ROUTE name for SFVec3f field named location.
      See Also:
    • toField_LOCATION

      public static final String toField_LOCATION
      toField ROUTE name for SFVec3f field named location.
      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_NEARDISTANCE

      public static final String fromField_NEARDISTANCE
      fromField ROUTE name for SFFloat field named nearDistance.
      See Also:
    • toField_NEARDISTANCE

      public static final String toField_NEARDISTANCE
      toField ROUTE name for SFFloat field named nearDistance.
      See Also:
    • fromField_ON

      public static final String fromField_ON
      fromField ROUTE name for SFBool field named on.
      See Also:
    • toField_ON

      public static final String toField_ON
      toField ROUTE name for SFBool field named on.
      See Also:
    • fromField_SHADOWINTENSITY

      public static final String fromField_SHADOWINTENSITY
      fromField ROUTE name for SFFloat field named shadowIntensity.
      See Also:
    • toField_SHADOWINTENSITY

      public static final String toField_SHADOWINTENSITY
      toField ROUTE name for SFFloat field named shadowIntensity.
      See Also:
    • fromField_SHADOWS

      public static final String fromField_SHADOWS
      fromField ROUTE name for SFBool field named shadows.
      See Also:
    • toField_SHADOWS

      public static final String toField_SHADOWS
      toField ROUTE name for SFBool field named shadows.
      See Also:
    • fromField_TEXTURE

      public static final String fromField_TEXTURE
      fromField ROUTE name for SFNode field named texture.
      See Also:
    • toField_TEXTURE

      public static final String toField_TEXTURE
      toField ROUTE name for SFNode field named texture.
      See Also:
    • fromField_UPVECTOR

      public static final String fromField_UPVECTOR
      fromField ROUTE name for SFVec3f field named upVector.
      See Also:
    • toField_UPVECTOR

      public static final String toField_UPVECTOR
      toField ROUTE name for SFVec3f field named upVector.
      See Also:
  • Constructor Details

    • TextureProjector

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

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