The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates. 更多...
头: | #include <TexturedPoint2D> |
qmake: | QT += quick |
void | set (float x , float y , float tx , float ty ) |
float | tx |
float | ty |
float | x |
float | y |
The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates.
Sets the position of the vertex to x and y and the texture coordinate to tx and ty .