QFrontFace

The QFrontFace class defines front and back facing polygons. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QFrontFace

Synopsis

Functions

Slots

Signals

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

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

Holds the winding direction of the front facing polygons. Default is Clockwise.

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

directionWindingDirection

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

directionWindingDirection

Holds the winding direction of the front facing polygons. Default is Clockwise.