Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ModelImporterTangents

Vertex tangent generation options for ModelImporter.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum ModelImporterTangents

Remarks

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.

Fields

Value

Description

CalculateLegacyCalculate tangents with legacy algorithm.
CalculateLegacyWithSplitTangentsCalculate tangents with legacy algorithm, with splits across UV charts.
CalculateMikkCalculate tangents using MikkTSpace (default).
ImportImport vertex tangents from model file.
NoneDo not import vertex tangents.