PySide6.Qt3DRender.Qt3DRender.QFrontFace¶
- class QFrontFace¶
The
QFrontFace
class defines front and back facing polygons. More…Synopsis¶
Properties¶
Methods¶
def
__init__()
def
direction()
Slots¶
def
setDirection()
Signals¶
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 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.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property directionᅟ: Qt3DRender.QFrontFace.WindingDirection¶
Holds the winding direction of the front facing polygons. Default is Clockwise.
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
The constructor creates a new
QFrontFace
instance with the specifiedparent
- direction()¶
- Return type:
WindingDirection
See also
setDirection()
Getter of property
directionᅟ
.- directionChanged(direction)¶
- Parameters:
direction –
WindingDirection
Notification signal of property
directionᅟ
.- setDirection(direction)¶
- Parameters:
direction –
WindingDirection
See also
direction()
Setter of property
directionᅟ
.