 |
MeshUtilsCalculateTangentVectors Method |
CalculateTangentVectors returns a Vector3 array that represents tangent vectors calculated from specified mesh data.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic static Vector3[] CalculateTangentVectors(
Vector3[] positions,
Vector3[] normals,
Vector2[] textureCoordinates,
int[] triangleIndices
)
Parameters
- positions Vector3
- positions as Vector3[]
- normals Vector3
- normals as Vector3[]
- textureCoordinates Vector2
- textureCoordinates as Vector2[]
- triangleIndices Int32
- triangleIndices as int[]
Return Value
Vector3Vector3 array that represents tangent vectors
See Also