ChromaticAberration QML Type
色収差エフェクト。詳細...
| Import Statement: | import QtQuick3D.Effects 6.11 |
| 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
エフェクトの位置と強さをコントロールするグレースケールのテクスチャ。エフェクトは白い部分で最も強く、黒い部分で最も弱くなります。デフォルトはTexture で、ソースは"maps/white.png" 。
© 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.