QFrontFace Class

class Qt3DRender::QFrontFace

Die Klasse QFrontFace definiert nach vorne und hinten gerichtete Polygone. Mehr...

Kopfzeile: #include <QFrontFace>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
In QML: FrontFace
Vererbt: Qt3DRender::QRenderState
Status: Veraltet

Öffentliche Typen

enum WindingDirection { ClockWise, CounterClockWise }

Eigenschaften

Öffentliche Funktionen

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

Öffentliche Slots

void setDirection(Qt3DRender::QFrontFace::WindingDirection direction)

Signale

void directionChanged(Qt3DRender::QFrontFace::WindingDirection direction)

Detaillierte Beschreibung

A Qt3DRender::QFrontFace legt die Wickelrichtung der nach vorne gerichteten Polygone fest.

Siehe auch QCullFace.

Mitgliedstyp Dokumentation

enum QFrontFace::WindingDirection

Diese Aufzählung gibt die Werte für die Wickelrichtung an.

KonstanteWertBeschreibung
Qt3DRender::QFrontFace::ClockWise0x0900Polygone im Uhrzeigersinn sind nach vorne gerichtet.
Qt3DRender::QFrontFace::CounterClockWise0x0901Polygone gegen den Uhrzeigersinn sind nach vorne gerichtet.

Dokumentation der Eigenschaft

direction : WindingDirection

Legt die Wickelrichtung der nach vorne gerichteten Polygone fest. Standardmäßig ist dies der Uhrzeigersinn.

Zugriffsfunktionen:

Qt3DRender::QFrontFace::WindingDirection direction() const
void setDirection(Qt3DRender::QFrontFace::WindingDirection direction)

Melder-Signal:

void directionChanged(Qt3DRender::QFrontFace::WindingDirection direction)

Member Function Dokumentation

[explicit] QFrontFace::QFrontFace(Qt3DCore::QNode *parent = nullptr)

Der Konstruktor erzeugt eine neue QFrontFace::QFrontFace Instanz mit der angegebenen parent

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.