X3D TextureProperties
Tag Description
Controls the border, boundary and magification of textures application.
Component
Texturing
Notes
Paragraph
Tag Attributes
anisotropicDegree
Field Type: SFFloat
Access Type: inputOutput
Default Value: 1.0
Value Range: 1, ∞
Description: The minimum degree of anisotropy to account for in texture filtering.
borderColor
Field Type: SFColorRGBA
Access Type: inputOutput
Default Value: 0 0 0 0
Value Range: 1, ∞
Description: Sets the color of border pixels.
borderWidth
Field Type: SFInt32
Access Type: inputOutput
Default Value: 0
Value Range: 0, 1
Description: The number of pixels to use for a border width.
boundaryModeS
Field Type: SFString
Access Type: inputOutput
Default Value: REPEAT
Value Range: ...
Description: Sets the way S texture coordinate boundaries are handled. Possible values are:
- CLAMP
- CLAMP_TO_EDGE
- CLAMP_TO_BOUNDARY
- MIRRORED_REPEAT
- REPEAT
boundaryModeT
Field Type: SFString
Access Type: inputOutput
Default Value: REPEAT
Value Range: ...
Description: Sets the way T texture coordinate boundaries are handled. Possible values are:
- CLAMP
- CLAMP_TO_EDGE
- CLAMP_TO_BOUNDARY
- MIRRORED_REPEAT
- REPEAT
boundaryModeR
Field Type: SFString
Access Type: inputOutput
Default Value: REPEAT
Value Range: ...
Description: Sets the way R texture coordinate boundaries are handled. This field only applies to 3D textures. Possible values are:
- CLAMP
- CLAMP_TO_EDGE
- CLAMP_TO_BOUNDARY
- MIRRORED_REPEAT
- REPEAT
magnificationFilter
Field Type: SFString
Access Type: inputOutput
Default Value: FASTEST
Value Range: ...
Description: Sets the way textures are filtered when the image is smaller than the screen space. Possible values:
- AVG_PIXEL
- DEFAULT
- FASTEST
- NEAREST_PIXEL
- NICEST
minificationFilter
Field Type: SFString
Access Type: inputOutput
Default Value: FASTEST
Value Range: ...
Description: Sets the way textures are filtered if the image is larger than the screen space. Possible values:
- AVG_PIXEL
- AVG_PIXEL_AVG_MIPMAP
- AVG_PIXEL_NEAREST_MIPMAP
- DEFAULT
- FASTEST
- NEAREST_PIXEL
- NEAREST_PIXEL_AVG_MIPMAP
- NEAREST_PIXEL_NEAREST_MIPMAP
- NICEST
textureCompression
Field Type: SFString
Access Type: inputOutput
Default Value: FASTEST
Value Range: ...
Description: Sets the image compression method for rendering. Possible values:
- DEFAULT
- FASTEST
- HIGH
- LOW
- MEDIUM
- NICEST
texturePriority
Field Type: SFFloat
Access Type: inputOutput
Default Value: 0
Value Range: 0, 1
Description: Sets the priority for allocating texture memory.
generateMipsMap
Field Type: SFBool
Access Type: initializeOnly
Default Value: FALSE
Value Range: ...
Description: Sets whether mipsmaps should be generated for the texture.
metadata
Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.