JavaScript is disabled on your browser.

Feature type: ImageTexture

Package:

Energy-ADE

Definition:

This is an X3D element to map a texture to this material. From X3D specification: The ImageTexture node defines a texture map by specifying an image file and general parameters for mapping to geometry. Texture maps are defined in a 2D coordinate system (s, t) that ranges from [0.0, 1.0] in both directions. The bottom edge of the image corresponds to the S-axis of the texture map, and left edge of the image corresponds to the T-axis of the texture map. The lower-left pixel of the image corresponds to s=0, t=0, and the top-right pixel of the image corresponds to s=1, t=1.

Type:

Feature type

Overview of characteristics:


Attributes and association roles
Name Type Multiplicity
repeatS Boolean 1
repeatT Boolean 1
url URI 1

Attribute:

back to top

Name:

repeatS

Definition:

From X3D specification: If repeatS is TRUE, the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If repeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range.

Voidable:

false

Multiplicity:

1

Value type:

Boolean

Attribute:

back to top

Name:

repeatT

Definition:

From X3D specification: If repeatT is TRUE, the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the T direction so that it fills the shape. If repeatT is FALSE, the texture coordinates are clamped in the T direction to lie within the [0.0, 1.0] range.

Voidable:

false

Multiplicity:

1

Value type:

Boolean

Attribute:

back to top

Name:

url

Definition:

Specifies location of the image. From X3D specification: The texture is read from the URL specified by the url field. When the url field contains no values, texturing is disabled. Browsers shall support the JPEG and PNG image file formats. In addition, browsers may support other image formats (e.g. CGM) which can be rendered into a 2D image. Support for the GIF format is also recommended (including transparency).

Voidable:

false

Multiplicity:

1

Value type:

URI