Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGGeometry::TexturedPoint2D Class Reference

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

#include <qsggeometry.h>

Collaboration diagram for QSGGeometry::TexturedPoint2D:

Public Member Functions

void set (float nx, float ny, float ntx, float nty)
 Sets the position of the vertex to x and y and the texture coordinate to tx and ty.

Public Attributes

float x
float y
float tx
float ty

Detailed Description

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

\inmodule QtQuick

Definition at line 85 of file qsggeometry.h.

Member Function Documentation

◆ set()

void QSGGeometry::TexturedPoint2D::set ( float nx,
float ny,
float ntx,
float nty )
inline

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

Definition at line 88 of file qsggeometry.h.

Member Data Documentation

◆ tx

float QSGGeometry::TexturedPoint2D::tx

Definition at line 87 of file qsggeometry.h.

◆ ty

float QSGGeometry::TexturedPoint2D::ty

Definition at line 87 of file qsggeometry.h.

◆ x

float QSGGeometry::TexturedPoint2D::x

Definition at line 86 of file qsggeometry.h.

◆ y

float QSGGeometry::TexturedPoint2D::y

Definition at line 86 of file qsggeometry.h.


The documentation for this class was generated from the following files: