GetTangents(NativeArray<Vector4>)
Populates an array with the vertex tangents from the MeshData.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void GetTangents(NativeArray<Vector4> outTangents)
Parameters
The destination vertex tangents array.
Remarks
The destination array must have at least vertexCount elements. The tangent at each index corresponds to the vertex with the same index. Vertex tangent data will be converted into Vector4 format if needed. Additional Resources: Mesh.GetTangents, HasVertexAttribute, Mesh.AcquireReadOnlyMeshData.