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

DistortionSphere QML Type

A sphere distortion effect.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

DistortionSphere QML Type

  • Import Statement: import QtQuick3D.Effects 6.4

Detailed Description

Image non disponible

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

Property Documentation

 

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]. 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+