Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

TextureTransform3D

TextureTransform3D

TextureTransform3D applies a 3D transformation to texture coordinates.

The TextureTransform3D node belongs to the Texturing3D component and its container field is textureTransform. It is available since X3D version 3.1 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFVec3f [in, out] translation 0 0 0 (-∞,∞)

Lateral/vertical shift in 2D (s,t) texture coordinates (opposite effect appears on geometry).

SFRotation [in, out] rotation 0 0 1 0 (-∞,∞)

Rotation angle of texture about center (opposite effect appears on geometry).

SFVec3f [in, out] scale 1 1 1 (-∞,∞)

Non-uniform planar scaling of texture about center (opposite effect appears on geometry).

SFVec3f [in, out] center 0 0 0 (-∞,∞)

Center point in 2D (s,t) texture coordinates for rotation and scaling.

Description

Hints

  • Order of operations is translation, rotation about center, non-uniform scale about center.
  • Insert Shape and Appearance nodes before adding TextureTransform.

Warning

  • Resulting visible effects appear reversed because image changes occur before mapping to geometry.

Browser Compatibility

Titania X_ITE
yes yes

External Links