Class: ImageTextureAtlas

X3DOM
Component: Texturing

x3dom.nodeTypes. ImageTextureAtlas

This is a special helper node to represent tiles for volume rendering.

HTML Encoding and Default Values

<ImageTextureAtlas crossOrigin='""' hideChildren='true' metadata='X3DMetadataObject' numberOfSlices='0' origChannelCount='0' repeatS='true' repeatT='true' scale='true' slicesOverX='0' slicesOverY='0' textureProperties='x3dom.nodeTypes.TextureProperties' url='[]' ></ImageTextureAtlas>

Inheritance


Constructor

ImageTextureAtlas(ctx)

Constructor for ImageTextureAtlas

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 "" Texture Cross Origin Mode
hideChildren SFBool true Texture Specifies whether the children are shown or hidden outside the texture.
metadata SFNode X3DMetadataObject Texture Field to add metadata information
numberOfSlices SFInt32 0 Specifies the number of slices in the texture atlas.
origChannelCount SFInt32 0 [0, inf] Texture Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
repeatS SFBool true Texture Specifies whether the texture is repeated in s direction.
repeatT SFBool true Texture Specifies whether the texture is repeated in t direction.
scale SFBool true Texture 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)
slicesOverX SFInt32 0 Specifies the slices in x.
slicesOverY SFInt32 0 Specifies the slices in y.
textureProperties SFNode TextureProperties Texture Sets a TextureProperty node.
url MFString [] Texture Sets the url to a resource.