QSGGeometry.TexturedPoint2D¶
The
TexturedPoint2D
struct is a convenience struct for accessing 2D Points with texture coordinates. More…

Detailed Description¶
-
class
PySide2.QtQuick.QSGGeometry.
TexturedPoint2D
¶ PySide2.QtQuick.QSGGeometry.TexturedPoint2D(TexturedPoint2D)
- Parameters
TexturedPoint2D –
TexturedPoint2D
-
PySide2.QtQuick.QSGGeometry.TexturedPoint2D.
x
¶
-
PySide2.QtQuick.QSGGeometry.TexturedPoint2D.
y
¶
-
PySide2.QtQuick.QSGGeometry.TexturedPoint2D.
tx
¶
-
PySide2.QtQuick.QSGGeometry.TexturedPoint2D.
ty
¶
-
PySide2.QtQuick.QSGGeometry.TexturedPoint2D.
set
(nx, ny, ntx, nty)¶ - Parameters
nx –
float
ny –
float
ntx –
float
nty –
float
Sets the position of the vertex to
x
andy
and the texture coordinate totx
andty
.