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
.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.