QFrontFace Class
(Qt3DRender::QFrontFace)The QFrontFace class defines front and back facing polygons. 更多...
头文件: | #include <QFrontFace> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | FrontFace |
基类: | Qt3DRender::QRenderState |
公有类型
enum | WindingDirection { ClockWise, CounterClockWise } |
属性
- direction : WindingDirection
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QFrontFace(Qt3DCore::QNode *parent = nullptr) | |
WindingDirection | direction() const |
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setDirection(WindingDirection direction) |
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | directionChanged(WindingDirection direction) |
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QFrontFace class defines front and back facing polygons.
A Qt3DRender::QFrontFace sets the winding direction of the front facing polygons.
参见 QCullFace.
成员类型
enum QFrontFace::WindingDirection
This enumeration specifies the winding direction values.
Constant | Value | Description |
---|---|---|
Qt3DRender::QFrontFace::ClockWise | 0x0900 | Clockwise polygons are front facing. |
Qt3DRender::QFrontFace::CounterClockWise | 0x0901 | Counter clockwise polygons are front facing. |
属性
direction : WindingDirection
Holds the winding direction of the front facing polygons. Default is Clockwise.
访问函数:
WindingDirection | direction() const |
void | setDirection(WindingDirection direction) |
Notifier signal:
void | directionChanged(WindingDirection direction) |