QFrontFace#

The QFrontFace class defines front and back facing polygons. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QFrontFace

Synopsis#

Properties#

Functions#

Slots#

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 PySide6.Qt3DRender.Qt3DRender.QFrontFace([parent=None])#
Parameters:

parentPySide6.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:
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:

WindingDirection

See also

setDirection()

Getter of property direction .

PySide6.Qt3DRender.Qt3DRender.QFrontFace.directionChanged(direction)#
Parameters:

directionWindingDirection

Notification signal of property direction .

PySide6.Qt3DRender.Qt3DRender.QFrontFace.setDirection(direction)#
Parameters:

directionWindingDirection

See also

direction()

Setter of property direction .