Post

TextureCoordinate3D

Overview

TextureCoordinate3D specifies a set of 3D texture coordinates used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map 3D textures to vertices.

The TextureCoordinate3D node belongs to the Texturing3D component and requires at least level 1, its default container field is texCoord. It is available from X3D version 3.1 or higher.

Hierarchy

1
2
3
4
5
+ X3DNode
  + X3DGeometricPropertyNode
    + X3DTextureCoordinateNode
      + X3DSingleTextureCoordinateNode
        + TextureCoordinate3D

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFString [in, out] mapping “”

The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.

Hint

MFVec3f [in, out] point [ ] (-∞,∞)

Triplets of 3D (s,t,r) texture coordinates, either in range [0,1] or higher if repeating.

Advice

Hints

Warning

  • Requires X3D profile='Full' or else include <component name='Texturing3D' level='1'/>

See Also

This post is licensed under CC BY 4.0 by the author.