|
MeshUtilsCalculateTangentVectors(Vector3, Vector3, Vector2, Int32) Method |
CalculateTangentVectors returns a Vector3 array that represents tangent vectors calculated from specified mesh data.
Namespace: Ab3d.DirectX.UtilitiesAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public 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