Position
Vertex position.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Position = 0
Remarks
Positions usually use Vector3 format. Vector3 uses three 32-bit floats; 12 bytes in total.
This vertex attribute maps to Semantic in the HLSL shading language.
POSITIONAdditional Resources: Mesh.HasVertexAttribute, Mesh.SetVertices.