⚲
Class:
Mesh
Lua
C++
Edit
Mesh:SetVertexTexCoords
This method sets the texture coordinates of a single vertex in the mesh.
Syntax
SetVertexTexCoords
(number index, number u, number v, number texcoordset = 1)
SetVertexTexCoords
(number index,
Vec2
texcoords, number texcoordset = 1)
Parameter
Description
index
vertex index, starting with zero
texcoords, (u, v)
vertex texture coordinates to set
texcoordset
texture coordinate set, can be 1 or 2
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation