QScissorTest Class

class Qt3DRender::QScissorTest

QScissorTest クラスは、画面の特定の矩形部分から外れたフラグメントを破棄します。詳細...

ヘッダー #include <QScissorTest>
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

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