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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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