ChromaticAberration QML Type

色収差エフェクト。詳細...

Import Statement: import QtQuick3D.Effects 6.8
Status: Deprecated since 6.5

この型はQtQuick3D.Effects 6.5以降非推奨です。新しいコードでは使用しないことを強くお勧めします。

プロパティ

詳細説明

代わりに、ExtendedSceneEnvironmentMultiEffect 、またはEffect タイプを介したユーザー定義エフェクトを使用する。

警告 QtQuick3D.Effects に含まれるすべての既成のスタンドアロンエフェクトは、Qt 6.5 から非推奨となります。アプリケーションは、ExtendedSceneEnvironment またはMultiEffect を代わりに使用するか、Effect タイプを使用して独自のカスタム後処理エフェクトを提供することをお勧めします。

ChromaticAberration エフェクトは、光学レンズの欠陥をシミュレートします。現実の世界では、色収差は、高コントラスト領域に色縞を引き起こす光学現象です。これらの色縞は、異なる色が異なる角度で屈折し、白色光をスペクトルに分割することによって発生します。これは分散と呼ばれます。

特性資料

aberrationAmount : real

収差効果の強さ。負の値は効果を反転させる。デフォルト値は50


focusDepth : real

焦点面までの距離。分散はこの値からの距離に関連してスケールする。デフォルト値は600


maskTexture : TextureInput

グレースケールのテクスチャで、 効果の位置と強さを制御します。エフェクトは白い領域で最も強く、黒い領域で最も弱くなります。デフォルトはTexture で、ソースは"maps/white.png" です。


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