Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

TextureProperties

TextureProperties

TextureProperties allows fine control over texture application.

The TextureProperties node belongs to the Texturing component and its container field is textureProperties. It is available since X3D version 3.0 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.

SFInt32 [in, out] borderWidth [0,1]

BorderWidth number of pixels for texture border.

SFFloat [in, out] anisotropicDegree 1 [1,∞)

AnisotropicDegree defines minimum degree of anisotropy to account for in texture filtering (1=none or higher value).

SFBool [ ] generateMipMaps FALSE

Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)

SFString [in, out] minificationFilter "FASTEST"

MinificationFilter indicates texture filter when image is larger than screen space representation.

Hint

See X3D Specification Table 18.9 Texture minification modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureMinificationModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFString [in, out] magnificationFilter "FASTEST"

MagnificationFilter indicates texture filter when image is smaller than screen space representation.

Hint

See X3D Specification Table 18.8 Texture magnification modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureMagnificationModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFString [in, out] boundaryModeS "REPEAT"

BoundaryModeS describes handling of texture-coordinate boundaries.

Hint

See X3D Specification Table 18.7 Texture boundary modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureBoundaryModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFString [in, out] boundaryModeT "REPEAT"

BoundaryModeT describes handling of texture-coordinate boundaries.

Hint

See X3D Specification Table 18.7 Texture boundary modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureBoundaryModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFString [in, out] boundaryModeR "REPEAT"

BoundaryModeR describes handling of texture-coordinate boundaries.

Hint

See X3D Specification Table 18.7 Texture boundary modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureBoundaryModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFString [in, out] textureCompression "FASTEST"

TextureCompression indicates compression algorithm selection mode.

Hint

See X3D Specification Table 18.10 Texture compression modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-TextureCompressionModes for details.

Warning

Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

SFFloat [in, out] texturePriority [0,1]

TexturePriority defines priority for allocating texture memory.

Description

Hint

  • Include <component name='Shape' level='2'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links