Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryExtrudeTextureCoordinatesGenerationType Enumeration

The type of texture coordinates generation used with MeshUtils.CreateExtrudedMesh.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public enum ExtrudeTextureCoordinatesGenerationType
Members
Member nameValueDescription
None0 Do not generate texture coordinates. This option is preferable when no texture coordinates are needed, for example when using a solid material.
Cylindrical1 Generate texture coordinates using the cylindrical projection: the top and the bottom planes are horizontally mapped to the 2D texture, while the texture coordinates for the cylinder's body are generated so that the 2D texture is wrapped around the cylinder (extruded object).
See Also