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

ScreenRayCaster QML Type

Performe ray casting test based on screen coordinates.

This type was introduced in Qt 5.11.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ScreenRayCaster QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.11

  • Instantiates:: QScreenRayCaster

Detailed Description

ScreenRayCaster can be used to perform ray casting tests by specifying coordinates in screen space, which will be used to construct an actual 3D ray between the near and far planes.

See Also

See also RayCaster, NoPicking

Property Documentation

 

position : point

Holds the length of the 3D ray.

The coordinates will be used for every available render surface as long as they are in the valid range.

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