Tangent
Vertex tangent.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Tangent = 2
Remarks
Tangents usually use Vector4 format. Vector4 uses four 32-bit floats; 16 bytes in total.
This vertex attribute maps to Semantic in the HLSL shading language.
TANGENTAdditional Resources: Mesh.HasVertexAttribute, Mesh.SetTangents.