QFrontFace Class

( Qt3DRender::QFrontFace )

QFrontFace class defines front and back facing polygons. 更多...

头: #include <QFrontFace>
qmake: QT += 3drender
Since: Qt 5.7
实例化: FrontFace
继承: Qt3DRender::QRenderState

公共类型

enum WindingDirection { ClockWise, CounterClockWise }

特性

公共函数

QFrontFace (Qt3DCore::QNode * parent = nullptr)
WindingDirection direction () const

公共槽

void setDirection (WindingDirection direction )

信号

void directionChanged (WindingDirection direction )

额外继承成员

详细描述

QFrontFace class defines front and back facing polygons.

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

另请参阅 QCullFace .

成员类型文档编制

enum QFrontFace:: WindingDirection

This enumeration specifies the winding direction values.

常量 描述
Qt3DRender::QFrontFace::ClockWise 0x0900 Clockwise polygons are front facing.
Qt3DRender::QFrontFace::CounterClockWise 0x0901 Counter clockwise polygons are front facing.

特性文档编制

direction : WindingDirection

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

访问函数:

WindingDirection direction () const
void setDirection (WindingDirection direction )

通知程序信号:

void directionChanged (WindingDirection direction )

成员函数文档编制

QFrontFace:: QFrontFace ( Qt3DCore::QNode * parent = nullptr)

Default constructs an instance of QFrontFace.