Scatter QML Type
散乱ノイズエフェクト。詳細...
| Import Statement: | import QtQuick3D.Effects 6.11 |
| Status: | Deprecated since 6.5 |
この型はQtQuick3D.Effects 6.5から非推奨となりました。新しいコードでは使用しないことを強くお勧めします。
プロパティ
- amount : real
- direction : int
- noiseSample : TextureInput
- randomize : bool
詳細説明
代わりに、ExtendedSceneEnvironment 、MultiEffect 、またはEffect タイプを介したユーザー定義エフェクトを使用する。
警告 QtQuick3D.Effects に含まれるすべての既成のスタンドアロンエフェクトは、Qt 6.5 から非推奨となります。アプリケーションは、該当する場合、ExtendedSceneEnvironment またはMultiEffect を代わりに使用するか、Effect 型を介して独自のカスタム後処理エフェクトを提供することをお勧めします。

シーン内のピクセルを散乱させ、ぼやけた、または不鮮明な外観を作成します。個々のピクセルの色を変更することなく、Scatter エフェクトはピクセルをランダムに再分散させますが、元の位置と同じ大まかな範囲になります。
プロパティの説明
amount : real
散布量を決定する。範囲は[0...127] 。デフォルト値は10 。
direction : int
ピクセルを散布する方向。水平・垂直ともに0 に設定、 水平方向は1 に設定、 垂直方向は2 に設定。デフォルト値は0 。
noiseSample : TextureInput
スキャッターノイズテクスチャーマップ。デフォルトはTexture で、ソースは"maps/brushnoise.png" 。
randomize : bool
散乱パターンをフレームごとに変更するかどうかを指定します。デフォルト値はtrue です。
© 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.