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

PointRotator3D QML Type

Rotates particles around a pivot point.

This type was introduced in Qt 6.2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

PointRotator3D QML Type▲

  • Import Statement: import QtQuick3D.Particles3D

  • Since: Qt 6.2

  • Inherits: Affector3D

Detailed Description▲

This element rotates particles around a pivotPoint towards the direction.

Property Documentation▲

 

direction : vector3d▲

This property defines the direction for the rotation. Values will be automatically normalized to a unit vector.

The default value is (0.0, 1.0, 0.0) (around the y-coordinate).

magnitude : real▲

This property defines the magnitude in degrees per second. Negative magnitude rotates to the opposite way from the direction.

The default value is 10.0.

pivotPoint : vector3d▲

This property defines the pivot point for the rotation. Particles are rotated around this point.

The default value is (0, 0, 0) (the center of particle system).

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