このページでは

Qt3DRender::QScissorTest Class

class Qt3DRender::QScissorTest

QScissorTest クラスは、画面上の特定の矩形領域の外側にあるフラグメントを排除します。詳細...

ヘッダー: #include <qscissortest.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML内: ScissorTest
継承元: Qt3DRender::QRenderState
ステータス: 非推奨

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

パブリック関数

QScissorTest(Qt3DCore::QNode *parent = nullptr)
int bottom() const
int height() const
int left() const
int width() const

パブリックスロット

void setBottom(int bottom)
void setHeight(int height)
void setLeft(int left)
void setWidth(int width)

シグナル

void bottomChanged(int bottom)
void heightChanged(int height)
void leftChanged(int left)
void widthChanged(int width)

詳細な説明

QScissorTest クラスは、left、bottom、width、height プロパティで指定された画面の矩形領域外にあるフラグメントを破棄するシザーテストを有効にします。

プロパティのドキュメント

bottom : int

シザーボックスの下端座標を保持します。

アクセス関数:

int bottom() const
void setBottom(int bottom)

通知シグナル:

void bottomChanged(int bottom)

height : int

シザーボックスの高さを保持します。

アクセス機能:

int height() const
void setHeight(int height)

通知信号:

void heightChanged(int height)

left : int

シザーボックスの左座標を保持します。

アクセス関数:

int left() const
void setLeft(int left)

通知シグナル:

void leftChanged(int left)

width : int

シザーボックスの幅を保持します。

アクセス機能:

int width() const
void setWidth(int width)

通知信号:

void widthChanged(int width)

メンバ関数のドキュメント

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

このコンストラクタは、指定されたパラメータを使用して新しいQScissorTest::QScissorTest インスタンスを作成します。parent

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