Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VertexAttribute.Normal

Description

Vertex normal.

Normals usually use Vector3 format. Vector3 uses three 32-bit floats; 12 bytes in total.

This vertex attribute maps to NORMAL Semantic in the HLSL shading language.

Additional resources: Mesh.HasVertexAttribute, Mesh.SetNormals.