QFrontFace Class

class Qt3DRender::QFrontFace

QFrontFaceクラスは、前面と背面を向いたポリゴンを定義します。詳細...

ヘッダー #include <QFrontFace>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake QT += 3drender
QML で FrontFace
を継承しています: Qt3DRender::QRenderState
ステータス非推奨

パブリックな型

enum WindingDirection { ClockWise, CounterClockWise }

プロパティ

パブリック機能

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

パブリックスロット

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

シグナル

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

詳細説明

Qt3DRender::QFrontFace は、正面を向いたポリゴンの巻き方向を設定します。

QCullFaceも参照

メンバー型ドキュメント

enum QFrontFace::WindingDirection

この列挙は、巻き方向の値を指定する。

定数説明
Qt3DRender::QFrontFace::ClockWise0x0900時計回りの多角形は正面を向く。
Qt3DRender::QFrontFace::CounterClockWise0x0901反時計回りの多角形は正面を向く。

プロパティの説明

direction : WindingDirection

正面を向いたポリゴンの巻き方向を保持する。デフォルトは時計回り。

アクセス機能:

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

通知シグナル:

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

メンバ関数ドキュメント

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

QFrontFace::QFrontFace コンストラクタは、指定された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.