QPlaneGeometryView 类
class Qt3DExtras::QPlaneGeometryView正方形平面网格。 更多...
| 头文件 | #include <Qt3DExtras/QPlaneGeometryView> | 
| CMake | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) | 
| qmake | QT += 3dextras | 
| 由以下实例化 | PlaneGeometryView | 
| 继承 | Qt3DCore::QGeometryView | 
属性
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
公共函数
| QPlaneGeometryView(Qt3DCore::QNode *parent = nullptr) | |
| float | height() const | 
| QSize | meshResolution() const | 
| bool | mirrored() const | 
| float | width() const | 
公共槽
| void | setHeight(float height) | 
| void | setMeshResolution(const QSize &resolution) | 
| void | setMirrored(bool mirrored) | 
| void | setWidth(float width) | 
信号
| void | heightChanged(float height) | 
| void | meshResolutionChanged(const QSize &meshResolution) | 
| void | mirroredChanged(bool mirrored) | 
| void | widthChanged(float width) | 
属性说明
height : float
包含平面高度。
访问函数
| float | height() const | 
| void | setHeight(float height) | 
通知信号
| void | heightChanged(float height) | 
meshResolution : QSize
包含平面分辨率。此属性的宽度和高度值分别指定在相应维度中生成的网格顶点的数量。
访问函数
| QSize | meshResolution() const | 
| void | setMeshResolution(const QSize &resolution) | 
通知信号
| void | meshResolutionChanged(const QSize &meshResolution) | 
镜像 : 布尔值
控制平面的UV坐标是否应该垂直翻转。
访问函数
| bool | 镜像() const | 
| void | setMirrored(bool mirror) | 
通知信号
| void | mirroredChanged(bool mirror) | 
宽度 : 浮点
包含平面的宽度。
访问函数
| float | 宽度() const | 
| void | setWidth(float width) | 
通知信号
| void | widthChanged(float width) | 
成员函数文档
[显式] QPlaneGeometryView::QPlaneGeometryView(Qt3DCore::QNode *parent = nullptr)
构建一个具有父对象的新的 QPlaneGeometryView。
© 2024 The Qt Company Ltd. 包含在此处的文档贡献是相关所有者的版权。提供的文档在此许可证下提供,该许可证由自由软件基金会发布,根据 GNU 自由文献许可证版本 1.3。Qt 和相应的标志是芬兰及其它世界各地的领域的 The Qt Company Ltd. 的商标。所有其他商标是各自所有者的财产。