![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates. More...
#include <qsggeometry.h>
Public Member Functions | |
void | set (float nx, float ny, float ntx, float nty) |
Sets the position of the vertex to x and y and the texture coordinate to tx and ty. |
Public Attributes | |
float | x |
float | y |
float | tx |
float | ty |
The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates.
\inmodule QtQuick
Definition at line 85 of file qsggeometry.h.
|
inline |
Sets the position of the vertex to x and y and the texture coordinate to tx and ty.
Definition at line 88 of file qsggeometry.h.
float QSGGeometry::TexturedPoint2D::tx |
Definition at line 87 of file qsggeometry.h.
float QSGGeometry::TexturedPoint2D::ty |
Definition at line 87 of file qsggeometry.h.
float QSGGeometry::TexturedPoint2D::x |
Definition at line 86 of file qsggeometry.h.
float QSGGeometry::TexturedPoint2D::y |
Definition at line 86 of file qsggeometry.h.