QLevelOfDetailSwitch Class

class Qt3DRender::QLevelOfDetailSwitch

距離や画面サイズに基づいて子エンティティを有効にする方法を提供します。詳細...

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

パブリック関数

QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr)

詳細説明

このコンポーネントはエンティティに割り当てられる。エンティティがカメラに対して距離を変更すると、QLevelOfDetailSwitchは、インデックスQt3DRender::QLevelOfDetailSwitch::currentIndexに一致するエンティティ以外のすべての子エンティティを無効にする。

メンバ関数ドキュメント

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

指定されたparent で新しい QLevelOfDetailSwitch を構築する。

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