Interface TextureCoordinate4D

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

public interface TextureCoordinate4D extends X3DSingleTextureCoordinateNode
TextureCoordinate4D specifies a set of 4D (homogeneous 3D) texture coordinates used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map 3D textures to vertices.

X3D node tooltip: (X3D version 3.1 or later) [X3DTextureCoordinateNode] TextureCoordinate4D specifies a set of 4D (homogeneous 3D) texture coordinates used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map 3D textures to vertices.
  • Hint: add Shape and then polgyonal/planar geometry before adding texture coordinates.
  • Warning: requires X3D profile='Full' or else include <component name='Texturing3D' level='1'/>

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: TextureCoordinate4D, X3D Tooltips: TextureCoordinate4D, X3D Scene Authoring Hints: Images
  • Method Summary

    Modifier and Type
    Method
    Description
    Provide String value from inputOutput SFString field named mapping.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    float[]
    Provide array of 4-tuple float results from inputOutput MFVec4f field named point.
    setMapping​(String newValue)
    Accessor method to assign String value to inputOutput SFString field named mapping.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    setPoint​(float[] newValue)
    Accessor method to assign 4-tuple float array to inputOutput MFVec4f field named point.