DistortionSphere QML Type

A sphere distortion effect. 更多...

导入语句: import QtQuick3D.Effects 6.6
Status: Deprecated since 6.5

特性

详细描述

使用 ExtendedSceneEnvironment , MultiEffect , or user-defined effects via the Effect type instead.

警告: All pre-made standalone effects in QtQuick3D .Effects are considered deprecated starting with Qt 6.5. Applications are advised to use ExtendedSceneEnvironment or MultiEffect instead, when applicable, or alternatively provide their own custom post-processing effect via the Effect 类型。

The DistortionSphere effect creates a 3D effect of wrapping the scene around a spherical shape.

特性文档编制

center : vector2d

The center point of the distortion. The default is Qt.vector2d(0.5, 0.5) , the center of the scene.


distortionHeight : real

The distortion amount. The range is [-1...1] , where positive values distort towards the camera, and negative values distort away from the camera. The default value is 0.5 .


radius : real

How far the distortion extends from the center point. The range is [0...1] 。默认值为 0.25 .