QSGGeometry::TexturedPoint2D Struct

struct QSGGeometry::TexturedPoint2D

QSGGeometry::TexturedPoint2D 结构是一种方便的结构,用于访问带有纹理坐标的二维点。更多

公共函数

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

详细说明

成员函数文档

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

将顶点位置设置为xy ,将纹理坐标设置为txty

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.