文档

Unity Engine

Unity Engine

ModelImporterTangents

Vertex tangent generation options for ModelImporter.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.