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: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
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