Class: TextureCoordinate

X3D: 3.3
Component: Texturing
Status:
fully implemented

x3dom.nodeTypes. TextureCoordinate

The TextureCoordinate node is a geometry property node that specifies a set of 2D texture coordinates used by vertex-based geometry nodes (EXAMPLE IndexedFaceSet and ElevationGrid) to map textures to vertices.

HTML Encoding and Default Values

<TextureCoordinate metadata='X3DMetadataObject' point='[]' ></TextureCoordinate>

Inheritance


Constructor

TextureCoordinate(ctx)

Constructor for TextureCoordinate

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
metadata SFNode X3DMetadataObject X3DTextureCoordinateNode Field to add metadata information
point MFVec2f [] Specifies the array of texture coordinates.