Node: TextureCoordinateGenerator

X3D: 3.3
Component: Texturing
fully implemented

Quick Links

➨ Fields

TextureCoordinateGenerator supports the automatic generation of texture coordinates for geometric shapes.

HTML Encoding and Default Values

<TextureCoordinateGenerator metadata='X3DMetadataObject' mode='"SPHERE"' parameter='[]' ></TextureCoordinateGenerator>



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
mode SFString "SPHERE" The mode field describes the algorithm used to compute texture coordinates.
parameter MFFloat [] Specify the parameters. These are mode dependent.