QSGGeometry.TexturedPoint2D

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

Inheritance diagram of PySide2.QtQuick.QSGGeometry.TexturedPoint2D

Synopsis

Functions

  • def set (nx, ny, ntx, nty)

Detailed Description

class PySide2.QtQuick.QSGGeometry.TexturedPoint2D

PySide2.QtQuick.QSGGeometry.TexturedPoint2D(TexturedPoint2D)

Parameters

TexturedPoint2DTexturedPoint2D

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
  • nxfloat

  • nyfloat

  • ntxfloat

  • ntyfloat

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