Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

PixelTexture3D

PixelTexture3D

PixelTexture3D defines a 3D image-based texture map as an explicit array of pixel values (image field).

The PixelTexture3D node belongs to the Texturing3D component and its container field is texture. 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.

SFBool [ ] repeatS FALSE

Whether to horizontally repeat texture along S axis.

SFBool [ ] repeatT FALSE

Whether to vertically repeat texture along T axis.

SFBool [ ] repeatR FALSE

Whether to vertically repeat texture along R axis.

MFInt32 [in, out] image [ 0, 0, 0, 0 ]

Image describes raw data for this 3D texture: number of components to the image [0,.4], width, height and depth of the texture, followed by (width x height x depth) pixel values.

SFNode [ ] textureProperties NULL [TextureProperties]

Field textureProperties.

Description

Hints

  • Can contain a single TextureProperties node.
  • Insert Shape and Appearance nodes before adding texture.

Browser Compatibility

Titania X_ITE
yes no