QStencilTest Class

class Qt3DRender::QStencilTest

QStencilTest クラスは、stecil テストの引数を指定します。詳細...

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

プロパティ

  • back : Qt3DRender::QStencilTestArguments* const
  • front : Qt3DRender::QStencilTestArguments* const

パブリック機能

QStencilTest(Qt3DCore::QNode *parent = nullptr)
Qt3DRender::QStencilTestArguments *back() const

詳細説明

Qt3DRender::QStencilTest クラスはステンシルテストの引数を指定する。ステンシルテストは、ステンシルテスト関数、ステンシルテストマスク、ステンシル参照値の3つの引数から構成されます。QStencilTest では、これらの引数を前面ポリゴンと背面ポリゴンに別々に設定することができます。

Qt3DRender::QStencilMask およびQt3DRender::QStencilOperationも参照してください

プロパティ・ドキュメンテーション

[read-only] back : Qt3DRender::QStencilTestArguments* const

背面ポリゴンのステンシルテスト引数を保持する。

アクセス関数:

Qt3DRender::QStencilTestArguments *back() const

[read-only] front : Qt3DRender::QStencilTestArguments* const

正面を向いたポリゴンのステンシルテスト引数を保持する。

メンバ関数ドキュメント

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

コンストラクタは、指定されたparent で新しいQStencilTest::QStencilTest インスタンスを作成します。

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