DistortionSphere QML Type
球体の歪み効果。詳細...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| 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 です。
© 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.