The QFrontFace class defines front and back facing polygons. 更多...
头: | #include <QFrontFace> |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
实例化: | FrontFace |
继承: | Qt3DRender::QRenderState |
该类在 Qt 5.7 引入。
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 ) |
The constructor creates a new QFrontFace::QFrontFace instance with the specified parent