IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

DistortionSpiral QML Type

A spiral distortion effect.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

DistortionSpiral QML Type

  • Import Statement: import QtQuick3D.Effects 6.5

Detailed Description

Use 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 type.

Image non disponible

The DistortionSpiral effect creates a twirl-shaped distortion.

Property Documentation

 

center : vector2d

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

distortionStrength : real

The distortion amount. The range is [-10...10]. The default value is 1.0.

radius : real

How far the distortion extends from the center point. The range is [0...1]. The default value is 0.25.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+