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

Qt Canvas 3D

Provides functionality for 3D drawing inside Qt Quick 2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Canvas 3D▲

Canvas3D module was deprecated in Qt 5.12. Depracated modules are no longer maintained. They are provided to keep old source code working, but they can be removed in a future release. We strongly advise against using deprecated modules in new code or project.

Qt Canvas 3D module provides a way to make WebGL-like 3D drawing calls from Qt Quick JavaScript.

Features▲

  • Uses OpenGL or OpenGL ES 2 for rendering.

  • Qt Quick 2 support.

  • Use Qt Quick items as texture sources.

  • Render content via offscreen framebuffer, or directly into Qt Quick scene background or foreground.

Getting Started▲

To import Qt Canvas 3D QML types, add the following import statement to your .qml file:

 
Sélectionnez
import QtCanvas3D 1.1

See the Getting Started page for further information on how to use Qt Canvas 3D in your application.

References▲

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