Scatter QML Type
散乱ノイズエフェクト。詳細...
Import Statement: | import QtQuick3D.Effects 6.8 |
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
です。
© 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.