PySide6.QtQuick.QSGGeometry.TexturedPoint2D

class TexturedPoint2D

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

PySide6.QtQuick.QSGGeometry.TexturedPoint2D.x
PySide6.QtQuick.QSGGeometry.TexturedPoint2D.y
PySide6.QtQuick.QSGGeometry.TexturedPoint2D.tx
PySide6.QtQuick.QSGGeometry.TexturedPoint2D.ty
set(nx, ny, ntx, nty)
Parameters:
  • nx – float

  • ny – float

  • ntx – float

  • nty – float

Sets the position of the vertex to x and y and the texture coordinate to tx and ty.