Class: MatrixTextureTransform

Component: Texturing
Status:
experimental

.nodeTypes. MatrixTextureTransform

The MatrixTextureTransform node defines a 2D transformation as a 4x4 matrix that is applied to texture coordinates. This node affects the way textures coordinates are applied to the geometric surface.

HTML Encoding and Default Values

<MatrixTextureTransform matrix='1,0,0,0' metadata='X3DMetadataObject' ></MatrixTextureTransform>

Inheritance

  • MatrixTextureTransform

Constructor

MatrixTextureTransform(ctx)

Constructor for MatrixTextureTransform

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
matrix SFMatrix4f 1,0,0,0 Defines the texture coordinate transformation matrix.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information