MeshVertexTextureCoordinate()
Syntax
MeshVertexTextureCoordinate(u.f [, v.f [, w.f]])Description
Set UVW information to the current vertex previously added with MeshVertexPosition() or MeshVertex(). The UVW information is used to apply the texture on the mesh.
Parameters
u The u value. This value is the X position in the texture where the vertex should map. This value is usually between 0 and 1, where 0 is the texture X origin and 1 is the texture X end. v (optional) The v value. This value is the Y position in the texture where the vertex should map. This value is usually between 0 and 1, where 0 is the texture Y origin and 1 is the texture Y end. w (optional) The w value (for cubic textures). This value is the Z position in the texture where the vertex should map. This value is usually between 0 and 1, where 0 is the texture Z origin and 1 is the texture Z end.
Return value
None.
See Also
CreateMesh(), MeshVertexPosition(), MeshVertexNormal(), MeshVertexTangent(), MeshVertexColor(), MeshVertex()
Supported OS
All