QPlaneMesh Class
class Qt3DExtras::QPlaneMesh정사각형 평면 메시입니다. 더 보기...
헤더: | #include <Qt3DExtras/QPlaneMesh> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
QML에서: | PlaneMesh |
상속합니다: | Qt3DRender::QGeometryRenderer |
상태: | Deprecated |
속성
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
공용 기능
QPlaneMesh(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) |
멤버 함수 문서
[explicit]
QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
parent 를 사용하여 새 QPlaneMesh를 구성합니다.
© 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.