GetTangents(List<Vector4>)
Gets the tangents of the Mesh.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void GetTangents(List<Vector4> tangents)
Parameters
A list of tangents to populate.
Remarks
The tangent at each index corresponds to the vertex with the same index.
Use this method instead of Mesh.tangents if you control the life cycle of the list passed in and you want to avoid allocating a new array with every access.
Additional Resources: Mesh.AcquireReadOnlyMeshData function.