このページでは

Qt3DRender::QStencilTest Class

class Qt3DRender::QStencilTest

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

ヘッダー: #include <qstenciltest.h>
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 インスタンスを作成します。

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