Class: ComposedCubeMapTexture

X3D: 3.3
Component: CubeMapTexturing
Status:
fully implemented

x3dom.nodeTypes. ComposedCubeMapTexture

The ComposedCubeMapTexture node defines a cubic environment map source as an explicit set of images drawn from individual 2D texture nodes.

HTML Encoding and Default Values

<ComposedCubeMapTexture back='x3dom.nodeTypes.Texture' bottom='x3dom.nodeTypes.Texture' crossOrigin='""' front='x3dom.nodeTypes.Texture' left='x3dom.nodeTypes.Texture' metadata='X3DMetadataObject' origChannelCount='0' repeatS='true' repeatT='true' right='x3dom.nodeTypes.Texture' scale='true' textureProperties='x3dom.nodeTypes.TextureProperties' top='x3dom.nodeTypes.Texture' url='[]' ></ComposedCubeMapTexture>

Inheritance


Constructor

ComposedCubeMapTexture(ctx)

Constructor for ComposedCubeMapTexture

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
back SFNode Texture Texture for the back of the cubemap
bottom SFNode Texture Texture for the bottom of the cubemap
crossOrigin SFString "" X3DEnvironmentTextureNode Cross Origin Mode
front SFNode Texture Texture for the front of the cubemap
left SFNode Texture Texture for the left side of the cubemap
metadata SFNode X3DMetadataObject X3DEnvironmentTextureNode Field to add metadata information
origChannelCount SFInt32 0 [0, inf] X3DEnvironmentTextureNode Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
repeatS SFBool true X3DEnvironmentTextureNode Specifies whether the texture is repeated in s direction.
repeatT SFBool true X3DEnvironmentTextureNode Specifies whether the texture is repeated in t direction.
right SFNode Texture Texture for the right side of the cubemap
scale SFBool true X3DEnvironmentTextureNode 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)
textureProperties SFNode TextureProperties X3DEnvironmentTextureNode Sets a TextureProperty node.
top SFNode Texture Texture for the top of the cubemap
url MFString [] X3DEnvironmentTextureNode Sets the url to a resource.