![]() |
Qt 6.x
The Qt SDK
|
The QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color. More...
#include <qsggeometry.h>
Collaboration diagram for QSGGeometry::ColoredPoint2D:Public Member Functions | |
| void | set (float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na) |
| Sets the position of the vertex to x and y and the color to red, green, blue, and alpha. | |
Public Attributes | |
| float | x |
| float | y |
| unsigned char | r |
| unsigned char | g |
| unsigned char | b |
| unsigned char | a |
The QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color.
\inmodule QtQuick
Definition at line 92 of file qsggeometry.h.
|
inline |
Sets the position of the vertex to x and y and the color to red, green, blue, and alpha.
Definition at line 95 of file qsggeometry.h.
| unsigned char QSGGeometry::ColoredPoint2D::a |
Definition at line 94 of file qsggeometry.h.
Referenced by QSGDefaultRectangleNode::setColor().
| unsigned char QSGGeometry::ColoredPoint2D::b |
Definition at line 94 of file qsggeometry.h.
Referenced by QSGDefaultRectangleNode::setColor().
| unsigned char QSGGeometry::ColoredPoint2D::g |
Definition at line 94 of file qsggeometry.h.
Referenced by QSGDefaultRectangleNode::setColor().
| unsigned char QSGGeometry::ColoredPoint2D::r |
Definition at line 94 of file qsggeometry.h.
Referenced by QSGDefaultRectangleNode::setColor().
| float QSGGeometry::ColoredPoint2D::x |
Definition at line 93 of file qsggeometry.h.
Referenced by QSGGeometry::updateColoredRectGeometry().
| float QSGGeometry::ColoredPoint2D::y |
Definition at line 93 of file qsggeometry.h.