기술 자료

Unity Engine

Unity Engine

GetTangents(NativeArray<Vector4>)

Populates an array with the vertex tangents from the MeshData.
읽는 시간 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.