QFrontFace

The QFrontFace class defines front and back facing polygons. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QFrontFace

Synopsis

Functions

Slots

Signals

Detailed Description

A QFrontFace sets the winding direction of the front facing polygons.

See also

QCullFace

class PySide2.Qt3DRender.Qt3DRender.QFrontFace([parent=None])

The constructor creates a new QFrontFace instance with the specified parent

PySide2.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.

PySide2.Qt3DRender.Qt3DRender.QFrontFace.direction()
Return type:

WindingDirection

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

PySide2.Qt3DRender.Qt3DRender.QFrontFace.directionChanged(direction)
Parameters:

directionWindingDirection

PySide2.Qt3DRender.Qt3DRender.QFrontFace.setDirection(direction)
Parameters:

directionWindingDirection

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