Enum TextureMapping
Defines how texture coordinates are generated
Real-time applications typically require full UV coordinates. So the use of GenerateUVCoords step is highly recommended. It generates proper UV channels for non-UV mapped objects, as long as an accurate description of how the mapping should look like is given.
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public enum TextureMapping
Fields
| Name | Description |
|---|---|
| Box | Cubic mapping |
| Cylinder | Cylinder mapping |
| FromUV | Coordinates are taken from the an existing UV channel. The AI_MATKEY_UVWSRC key specifies from the UV channel the texture coordinates are to be taken from since meshes can have more than one UV channel. |
| Plane | Planar mapping |
| Sphere | Spherical mapping |
| Unknown | Unknown mapping that is not recognied. |