QFrontFace#
The QFrontFace
class defines front and back facing polygons. More…
Synopsis#
Properties#
Functions#
def
direction
()
Slots#
def
setDirection
(direction)
Signals#
def
directionChanged
(direction)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
A QFrontFace
sets the winding direction of the front facing polygons.
See also
QCullFace
- class PySide6.Qt3DRender.Qt3DRender.QFrontFace([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates a new QFrontFace
instance with the specified parent
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QFrontFace.direction: WindingDirection#
Holds the winding direction of the front facing polygons. Default is Clockwise.
- Access functions:
direction
()setDirection
(direction)Signal
directionChanged
(direction)
- PySide6.Qt3DRender.Qt3DRender.QFrontFace.WindingDirection#
This enumeration specifies the winding direction values.
Constant
Description
Qt3DRender.QFrontFace.ClockWise
Clockwise polygons are front facing.
Qt3DRender.QFrontFace.CounterClockWise
Counter clockwise polygons are front facing.
- PySide6.Qt3DRender.Qt3DRender.QFrontFace.direction()#
- Return type:
See also
Getter of property direction
.
- PySide6.Qt3DRender.Qt3DRender.QFrontFace.directionChanged(direction)#
- Parameters:
direction –
WindingDirection
Notification signal of property direction
.
- PySide6.Qt3DRender.Qt3DRender.QFrontFace.setDirection(direction)#
- Parameters:
direction –
WindingDirection
See also
Setter of property direction
.