Class: ComposedTexture3D

X3D: 3.3
Component: Texturing3D
Status:
fully implemented

.nodeTypes. ComposedTexture3D

The ComposedTexture3D node defines a 3D image-based texture map as a collection of 2D texture sources at various depths and parameters controlling tiling repetition of the texture onto geometry.

HTML Encoding and Default Values

<ComposedTexture3D crossOrigin='""' metadata='X3DMetadataObject' origChannelCount='0' repeatS='true' repeatT='true' scale='true' texture='x3dom.nodeTypes.X3DTexture3DNode' textureProperties='x3dom.nodeTypes.TextureProperties' url='[]' ></ComposedTexture3D>

Inheritance


Constructor

ComposedTexture3D(ctx)

Constructor for ComposedTexture3D

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
crossOrigin SFString "" X3DTextureNode Cross Origin Mode
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
origChannelCount SFInt32 0 [0, inf] X3DTextureNode Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
repeatS SFBool true X3DTextureNode Specifies whether the texture is repeated in s direction.
repeatT SFBool true X3DTextureNode Specifies whether the texture is repeated in t direction.
scale SFBool true X3DTextureNode Specifies whether the texture is scaled to the next highest power of two. (Needed, when texture repeat is enabled and texture size is non power of two)
texture MFNode X3DTexture3DNode The texture values are interpreted with the first image being at depth 0 and each following image representing an increasing depth value in the R direction. A user shall provide 2^n source textures in this array. The individual source textures will ignore their repeat field values.
textureProperties SFNode TextureProperties X3DTextureNode Sets a TextureProperty node.
url MFString [] X3DTextureNode Sets the url to a resource.