QFrontFace Class▲
-
Header: QFrontFace
-
Since: Qt 5.7
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
-
qmake: QT += 3drender
-
Inherited By:
-
Instantiated By: qml-qt3d-render-frontface.xml
-
Inherits: Qt3DRender::QRenderState
-
Group: QFrontFace is part of renderstates
Detailed Description▲
A Qt3DRender::QFrontFace sets the winding direction of the front facing polygons.
See Also▲
See also QCullFace
Member Type Documentation▲
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. |
Property Documentation▲
direction : WindingDirection▲
Holds the winding direction of the front facing polygons. Default is Clockwise.
Access functions:
-
direction() const
-
void setDirection( direction)
Notifier signal:
-
void directionChanged( direction)
Member Function Documentation▲
[explicit] QFrontFace::QFrontFace(Qt3DCore::QNode *parent = nullptr)▲
The constructor creates a new QFrontFace::QFrontFace instance with the specified parent