A square planar mesh. 更多...
| 头: |
#include <Qt3DExtras/QPlaneGeometryView>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
|
| qmake: |
QT += 3dextras
|
| 在 QML: | PlaneGeometryView |
| 继承: | Qt3DCore::QGeometryView |
| 状态: | Deprecated |
| 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 ) |
* * * * * * *
Holds the plane height.
访问函数:
| float | height () const |
| void | setHeight (float height ) |
通知程序信号:
| void | heightChanged (float height ) |
Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.
访问函数:
| QSize | meshResolution () const |
| void | setMeshResolution (const QSize & resolution ) |
通知程序信号:
| void | meshResolutionChanged (const QSize & meshResolution ) |
Controls if the UV coordinates of the plane should be flipped vertically.
访问函数:
| bool | mirrored () const |
| void | setMirrored (bool mirrored ) |
通知程序信号:
| void | mirroredChanged (bool mirrored ) |
Holds the plane width.
访问函数:
| float | width () const |
| void | setWidth (float width ) |
通知程序信号:
| void | widthChanged (float width ) |
[explicit]
QPlaneGeometryView::
QPlaneGeometryView
(
Qt3DCore::QNode
*
parent
= nullptr)
Constructs a new QPlaneGeometryView with parent .