The QFrontFace class defines front and back facing polygons. 更多...
头: | #include <QFrontFace> |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
实例化: | FrontFace |
继承: | Qt3DRender::QRenderState |
enum | WindingDirection { ClockWise, CounterClockWise } |
QFrontFace (Qt3DCore::QNode * parent = nullptr) | |
WindingDirection | direction () const |
void | setDirection (WindingDirection direction ) |
void | directionChanged (WindingDirection direction ) |
The QFrontFace class defines front and back facing polygons.
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.
访问函数:
WindingDirection | direction () const |
void | setDirection (WindingDirection direction ) |
通知程序信号:
void | directionChanged (WindingDirection direction ) |
Default constructs an instance of QFrontFace.