Класс QPlaneGeometryView
класс Qt3DExtras::QPlaneGeometryViewКвадратная плоская сетка. Подробнее...
| Заголовок: | #include <Qt3DExtras/QPlaneGeometryView> |
| CMake: | find_package(Qt6 COMPONENTS 3dextras REQUIRED) 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) |
mirrored : bool
Управляет тем, должны ли UV-координаты плоскости быть перевернуты по вертикали.
Функции доступа:
| bool | mirrored() const |
| void | setMirrored(bool mirrored) |
Сигнал уведомления:
| void | mirroredChanged(bool mirrored) |
width : float
Содержит ширину плоскости.
Функции доступа:
| float | width() const |
| void | setWidth(float width) |
Сигнал уведомления:
| void | widthChanged(float width) |
Документация по функциям-членам
QPlaneGeometryView::QPlaneGeometryView(Qt3DCore::QNode *parent = nullptr)
Создает новый QPlaneGeometryView с parent.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qt3dextras-qplanegeometryview.html