DistortionSphere QML Type
球体の歪みエフェクト。詳細...
Import Statement: | import QtQuick3D.Effects 6.8 |
Status: | Deprecated since 6.5 |
この型はQtQuick3D.Effects 6.5から非推奨となりました。新しいコードでは使用しないことを強くお勧めします。
プロパティ
- center : vector2d
- distortionHeight : real
- radius : real
詳細説明
代わりに、ExtendedSceneEnvironment 、MultiEffect 、またはEffect タイプを介したユーザー定義エフェクトを使用する。
警告 QtQuick3D.Effects に含まれるすべての既成のスタンドアロンエフェクトは、Qt 6.5 から非推奨となります。アプリケーションは、ExtendedSceneEnvironment またはMultiEffect を代わりに使用するか、Effect タイプを使用して独自のカスタム後処理エフェクトを提供することをお勧めします。
DistortionSphereエフェクトは、シーンを球形に巻き付ける3Dエフェクトを作成します。
プロパティの説明
center : vector2d |
歪みの中心点。デフォルトはQt.vector2d(0.5, 0.5)
で、シーンの中心です。
distortionHeight : real |
歪み量。範囲は[-1...1]
で、正の値はカメラに向かって歪み、負の値はカメラから離れるように歪みます。デフ ォル ト 値は0.5
。
radius : real |
歪みが中心点からどこまで広がるか。範囲は[0...1]
。デフォルト値は0.25
。
© 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.