Extrude |
public enum ExtrudeTextureCoordinatesGenerationType
Member name | Value | Description |
---|---|---|
None | 0 | Do not generate texture coordinates (this option is preferred when using solid color material because here no texture coordinates are needed) |
AddAdditionalPositions | 1 | Do not generate any texture coordinates but add additional positions when the last position around the extruded shape meets the first position. This allows to generate texture coordinates later with using the right most pixel from the texture on the edge when the last point on the shape meets the first point. The additional positions are added when any type of texture geometry generation is used (except None). |
Cylindrical | 2 | Generates texture coordinates with using cylindrical projection. This means that the top and bottom planes are horizontally mapped to the 2D texture, the texture coordinates for the cylindrical part are generated in such a way as the 2D texture is wrapped around the cylinder (extruded object). |