Printing3DTextureEdgeBehavior
Printing3DTextureEdgeBehavior
Printing3DTextureEdgeBehavior
Printing3DTextureEdgeBehavior
Enum
Definition
Specifies how tiling should occur in the U and V axis in order to fill the overall requested area of a texture.
public : enum class Printing3DTextureEdgeBehaviorpublic enum Printing3DTextureEdgeBehaviorPublic Enum Printing3DTextureEdgeBehavior// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Graphics.Printing3D.Printing3DContract (introduced v1)
|
Fields
| Clamp Clamp Clamp Clamp | Clamps texture coordinates to the [0.0, 1.0] range. That is, it applies the texture once, then smears the color of edge pixels. For example, suppose that your application creates a square primitive and assigns texture coordinates of (0.0,0.0), (0.0,3.0), (3.0,3.0), and (3.0,0.0) to the primitive's vertices. Setting the Clamp texture edge behavior results in the texture being applied once. The pixel colors at the top of the columns and the end of the rows are extended to the top and right of the primitive respectively, as shown here. |
| Mirror Mirror Mirror Mirror | Tiles mirror the texture at every integer boundary. For example, with texture coordinates of (0.0,0.0), (0.0,3.0), (3.0,3.0), and (3.0,0.0). Setting the Wrap texture edge behavior results in the texture being applied three times in both the u- and v-directions. Every other row and column that it is applied is a mirror image of the preceding row or column, as shown here. |
| None None None None | No tiling will occur. |
| Wrap Wrap Wrap Wrap | Tiles repeat the texture resource at every integer junction. For example, with texture coordinates of (0.0,0.0), (0.0,3.0), (3.0,3.0), and (3.0,0.0), setting the Wrap texture edge behavior results in the texture being applied three times in both the u-and v-directions, as shown here. |
Remarks
This API is designed for use with 3D Manufacturing Format (3MF) packages. For more info about 3MF, see the 3MF Specification.


