W3cubDocs

/Qt 5.15

TexturedPoint2D Struct

struct QSGGeometry::TexturedPoint2D

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

Public Functions

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

Detailed Description

Member Function Documentation

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qsggeometry-texturedpoint2d.html