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

ChromaticAberration エフェクトは、光学レンズの欠陥をシミュレートします。現実の世界では、色収差とは、コントラストの高い領域に色フリンジを生じさせる光学現象です。これらの色フリンジは、異なる色が異なる角度で屈折し、白色光をスペクトルに分解することによって生じます。これは「分散」と呼ばれます。
プロパティのドキュメント
aberrationAmount : real
収差効果の強さ。負の値を設定すると、効果が反転します。デフォルト値は50 です。
focusDepth : real
焦点面までの距離。分散は、この値からの距離に応じて変化します。デフォルト値は600 です。
maskTexture : TextureInput
エフェクトの位置と強さを制御するためのグレースケールテクスチャです。エフェクトは白い領域で最も強く、黒い領域で最も弱くなります。デフォルトは、ソースが"maps/white.png" である「Texture 」です。
© 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.