class QFrontFace

The QFrontFace class defines front and back facing polygons. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QFrontFace

Synopsis

Properties

Methods

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

parentQNode

The constructor creates a new QFrontFace instance with the specified parent

direction()
Return type:

WindingDirection

See also

setDirection()

Getter of property directionᅟ .

directionChanged(direction)
Parameters:

directionWindingDirection

Notification signal of property directionᅟ .

setDirection(direction)
Parameters:

directionWindingDirection

See also

direction()

Setter of property directionᅟ .