TiltShift QML Type
ティルトシフトぼかし効果。詳細...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| Status: | Deprecated since 6.5 |
このタイプは、QtQuick3D.Effects 6.5 以降で非推奨となっています。新しいコードでの使用は強く推奨しません。
プロパティ
- blurAmount : real
- focusPosition : real
- focusWidth : real
- isInverted : bool
- isVertical : bool
詳細な説明
代わりに、ExtendedSceneEnvironment 、MultiEffect 、またはEffect 型を介したユーザー定義のエフェクトを使用してください。
警告: QtQuick3D.Effects にあるすべての 既製のスタンドアロンエフェクトは、Qt 6.5 以降で非推奨となります。アプリケーションでは、該当する場合は代わりにExtendedSceneEnvironment またはMultiEffect を使用するか、あるいはEffect タイプを介して独自のカスタム後処理エフェクトを提供することを推奨します。

TiltShiftエフェクトは、被写界深度をシンプルかつ高性能な方法でシミュレートします。深度バッファに基づいてぼかすのではなく、シーン内の水平または垂直の帯状領域の外側にあるすべての部分をぼかします。
DepthOfFieldHQBlurも参照してください 。
プロパティのドキュメント
blurAmount : real
ぼかし効果の強さを指定します。4 を超えるとアーティファクトが発生する可能性があります。指定可能な範囲は[0...10] です。デフォルト値は4 です。
focusPosition : real
正規化座標におけるフォーカスバーの位置。範囲は[0...1] です。デフォルト値は0.5 で、これはシーンの中央に相当します。
focusWidth : real
フォーカス領域の幅を正規化座標で指定します。focusPosition の範囲内にあるオブジェクトがフォーカス対象となります。範囲は[0...1] です。デフォルト値は0.2 です。
isInverted : bool
ぼかし領域を反転させ、代わりに中心部分がぼやけるようにします。デフォルト値はfalse です。
isVertical : bool
エフェクトを水平方向ではなく垂直方向に適用します。デフォルト値はfalse です。
© 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.