Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseVertex tangent generation options for ModelImporter.
Tangentss can either be imported from model file, calculated by Unity using several methods (default is MikkTSpace), or not included into imported mesh at all. Vertex tangents are most often used for normal/bump mapping.
See Also: ModelImporter.importTangents, ModelImporterNormals, Mesh.tangents.
Import | Import vertex tangents from model file. |
CalculateLegacy | Calculate tangents with legacy algorithm. |
CalculateLegacyWithSplitTangents | Calculate tangents with legacy algorithm, with splits across UV charts. |
CalculateMikk | Calculate tangents using MikkTSpace (default). |
None | Do not import vertex tangents. |