Interface TextureCoordinateGenerator

All Superinterfaces:
X3DGeometricPropertyNode, X3DNode, X3DSingleTextureCoordinateNode, X3DTextureCoordinateNode
All Known Implementing Classes:
TextureCoordinateGenerator

public interface TextureCoordinateGenerator
extends X3DSingleTextureCoordinateNode
TextureCoordinateGenerator computes 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to NURBS surfaces).

X3D node tooltip: [X3DSingleTextureCoordinateNode] TextureCoordinateGenerator computes 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to NURBS surfaces).
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: TextureCoordinateGenerator, X3D Tooltips: TextureCoordinateGenerator, X3D Scene Authoring Hints: Images
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getMapping()
    Provide String value from inputOutput SFString field named mapping.
    X3DMetadataObject getMetadata()
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    java.lang.String getMode()
    Provide String enumeration value (baseType xs:NMTOKEN) ["SPHERE" | "CAMERASPACENORMAL" | "CAMERASPACEPOSITION" | "CAMERASPACEREFLECTIONVECTOR" | "SPHERE-LOCAL" | "COORD" | "COORD-EYE" | "NOISE" | "NOISE-EYE" | "SPHERE-REFLECT" | "SPHERE-REFLECT-LOCAL"] from inputOutput SFString field named mode.
    float[] getParameter()
    Provide array of float results from inputOutput MFFloat field named parameter.
    TextureCoordinateGenerator setMapping​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named mapping.
    TextureCoordinateGenerator setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    TextureCoordinateGenerator setMode​(java.lang.String newValue)
    Accessor method to assign String enumeration value ("SPHERE" | "CAMERASPACENORMAL" | "CAMERASPACEPOSITION" | "CAMERASPACEREFLECTIONVECTOR" | "SPHERE-LOCAL" | "COORD" | "COORD-EYE" | "NOISE" | "NOISE-EYE" | "SPHERE-REFLECT" | "SPHERE-REFLECT-LOCAL") to inputOutput SFString field named mode.
    TextureCoordinateGenerator setParameter​(float[] newValue)
    Accessor method to assign float array to inputOutput MFFloat field named parameter.