MeshVertexTangent()

Syntax

MeshVertexTangent(x, y, z)
Description
Add tangent information to the new vertex previously added with MeshVertexPosition(). The tangent vector is mainly used in shader scripts. To automatically computes 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()

Supported OS

All

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