Interface TextureCoordinate

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

public interface TextureCoordinate
extends X3DSingleTextureCoordinateNode
TextureCoordinate specifies 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] TextureCoordinate specifies 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: TextureCoordinate, X3D Tooltips: TextureCoordinate, 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.
    float[] getPoint()
    Provide array of 2-tuple float results from inputOutput MFVec2f field named point.
    TextureCoordinate setMapping​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named mapping.
    TextureCoordinate setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    TextureCoordinate setPoint​(float[] newValue)
    Accessor method to assign 2-tuple float array to inputOutput MFVec2f field named point.