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

Qt 3D Extras C++ Classes

The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt 3D Extras C++ Classes

The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.

This module is under development and is subject to change.

Namespaces

  • Qt3DExtras: Contains classes from the Qt3DExtras module.

Classes

Detailed Description

This module is still in development but is available as a technology preview. This means it is unstable, likely to change and provided as a convenience only.

 
Sélectionnez
#include <Qt3DExtras>

To link against the corresponding C++ library, add the following to your qmake project file:

 
Sélectionnez
QT += 3dextras

Classes, types, and functions are declared under the Qt3DExtras namespace.

Overview

 
Materials
Meshes and Geometries
  • Qt3DExtras::QConeGeometry: The QConeGeometry class allows creation of a cone in 3D space. * * * * * The QConeGeometry class is most commonly used internally by the QConeMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses. The class * allows for creation of both a cone and a truncated cone.

  • Qt3DExtras::QConeMesh: A conical mesh.

  • Qt3DExtras::QCuboidGeometry: The QCuboidGeometry class allows creation of a cuboid in 3D space. * * * * * The QCuboidGeometry class is most commonly used internally by the QCuboidMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

  • Qt3DExtras::QCuboidMesh: A cuboid mesh.

  • Qt3DExtras::QCylinderGeometry: The QCylinderGeometry class allows creation of a cylinder in 3D space. * * * * * The QCylinderGeometry class is most commonly used internally by the QCylinderMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

  • Qt3DExtras::QCylinderMesh: A cylindrical mesh.

  • Qt3DExtras::QPlaneGeometry: The QPlaneGeometry class allows creation of a plane in 3D space. * * * * The QPlaneGeometry class is most commonly used internally by the QPlaneMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

  • Qt3DExtras::QPlaneMesh: A square planar mesh.

  • Qt3DExtras::QSphereGeometry: The QSphereGeometry class allows creation of a sphere in 3D space. * * * * * The QSphereGeometry class is most commonly used internally by the QSphereMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

  • Qt3DExtras::QSphereMesh: A spherical mesh.

  • Qt3DExtras::QTorusGeometry: The QTorusGeometry class allows creation of a torus in 3D space. * * * * * The QTorusGeometry class is most commonly used internally by the QTorusMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.

  • Qt3DExtras::QTorusMesh: A toroidal mesh.

Camera Controllers
Entities
FrameGraphs
Window
  • Qt3DExtras::Qt3DWindow

The Quick3DExtras module also specifies a Qt3DExtras::Quick::Qt3DQuickWindow.

Reference

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