MeshVertexTangent()

Syntax

MeshVertexTangent(x, y, z)
Description
Set tangent information to the current vertex previously added with MeshVertexPosition() or MeshVertex(). The tangent vector is mainly used in shader scripts. To automatically compute the tangent vector once the mesh is created, use BuildMeshTangents().

Parameters

x, y, z The tangent vector.

Return value

None.

See Also

CreateMesh(), MeshVertexPosition(), MeshVertexNormal(), MeshVertexColor(), MeshVertexTextureCoordinate(), BuildMeshTangents(), MeshVertex()

Supported OS

All

<- MeshVertexPosition() - Mesh Index - MeshVertexTextureCoordinate() ->