TexturedPoint2D Class

( QSGGeometry::TexturedPoint2D )

The QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates. 更多...

头: #include <TexturedPoint2D>
qmake: QT += quick

公共函数

void set (float x , float y , float tx , float ty )

公共变量

float tx
float ty
float x
float y

详细描述

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

成员函数文档编制

void TexturedPoint2D:: set ( float x , float y , float tx , float ty )

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