The QFrontFace class defines front and back facing polygons. 更多...
| 头: |
#include <QFrontFace>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|
| qmake: |
QT += 3drender
|
| 在 QML: | FrontFace |
| 继承: | Qt3DRender::QRenderState |
| 状态: | Deprecated |
| enum | WindingDirection { ClockWise, CounterClockWise } |
| QFrontFace (Qt3DCore::QNode * parent = nullptr) | |
| Qt3DRender::QFrontFace::WindingDirection | direction () const |
| void | setDirection (Qt3DRender::QFrontFace::WindingDirection direction ) |
| void | directionChanged (Qt3DRender::QFrontFace::WindingDirection direction ) |
A Qt3DRender::QFrontFace sets the winding direction of the front facing polygons.
另请参阅 QCullFace .
This enumeration specifies the winding direction values.
| 常量 | 值 | 描述 |
|---|---|---|
Qt3DRender::QFrontFace::ClockWise
|
0x0900
|
Clockwise polygons are front facing. |
Qt3DRender::QFrontFace::CounterClockWise
|
0x0901
|
Counter clockwise polygons are front facing. |
Holds the winding direction of the front facing polygons. Default is Clockwise.
访问函数:
| Qt3DRender::QFrontFace::WindingDirection | direction () const |
| void | setDirection (Qt3DRender::QFrontFace::WindingDirection direction ) |
通知程序信号:
| void | directionChanged (Qt3DRender::QFrontFace::WindingDirection direction ) |
[explicit]
QFrontFace::
QFrontFace
(
Qt3DCore::QNode
*
parent
= nullptr)
The constructor creates a new QFrontFace::QFrontFace instance with the specified parent