LodManager QML Type
詳細レベルの可視性の変更を処理するマネージャー。詳細...
Import Statement: | import QtQuick3D.Helpers |
Inherits: |
プロパティ
- camera : QtQuick3D::Camera
- distances : list
- fadeDistance : real
詳細説明
このヘルパーは詳細レベルの変更を処理する方法を提供する。カメラまでの距離に基づいて子ノードの可視性を変更することで動作する。閾値は距離リストを使ってユーザーが決定します。最初の距離は、マネージャが最初の子ノードと2番目の子ノードなどを表示するように変更するときのしきい値です。最初の子はカメラが近いときに表示されるため、最も詳細な子であるべきです。fadeDistance が設定されている場合、マネージャはモデル間の不透明度を変化させてクロスフェードします。フェーディングはモデルノードに対してのみ機能します。
View3D { LodManager { camera: camera distances: [50, 100] fadeDistance: 10 Model { ... } Model { ... } Model { ... } } }
プロパティ ドキュメント
camera : QtQuick3D::Camera |
子ノードまでの距離が計算されるカメラを指定します。
distances : list |
詳細レベルが変化するときのしきい値を指定します。最初の数値は、最初のノードが 2 番目のノードに変わるときの距離などです。
fadeDistance : real |
詳細レベル間のクロスフェードを開始する距離を指定します。
© 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.