Qt 3D Extras C++ Classes
The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D. More...
This module is under development and is subject to change.
Namespaces
Contains classes from the Qt3DExtras module |
Classes
Basic functionality for camera controllers | |
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 | |
A conical mesh | |
A conical mesh | |
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 | |
A cuboid mesh | |
A cuboid mesh | |
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 | |
A cylindrical mesh | |
A cylindrical mesh | |
Default implementation of the phong lighting effect | |
Allows creation of a 3D extruded text in 3D space | |
A 3D extruded Text mesh | |
Allows controlling the scene camera from the first person perspective | |
Default FrameGraph implementation of a forward renderer | |
Material that implements the Gooch shading model, popular in CAD and CAM applications | |
Default implementation of PBR lighting | |
Default implementation of the phong lighting effect | |
Allows controlling the scene camera along orbital path | |
Default implementation for rendering the color properties set for each vertex | |
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 | |
A square planar mesh | |
A square planar mesh | |
Qt3DExtras::QSkyboxEntity is a convenience Qt3DCore::QEntity subclass that can be used to insert a skybox in a 3D scene | |
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 | |
A spherical mesh | |
A spherical mesh | |
Allows creation of a 2D text in 3D space | |
Default implementation of a simple unlit texture material | |
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 | |
A toroidal mesh | |
A toroidal mesh |
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.
#include <Qt3DExtras>
To link against the corresponding C++ library, add the following to your qmake project file:
QT += 3dextras
Classes, types, and functions are declared under the Qt3DExtras namespace.
Overview
Materials
Default implementation of the phong lighting effect | |
Material that implements the Gooch shading model, popular in CAD and CAM applications | |
Default implementation of PBR lighting | |
Default implementation of the phong lighting effect | |
Default implementation for rendering the color properties set for each vertex | |
Default implementation of a simple unlit texture material |
Meshes and Geometries
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 | |
A conical mesh | |
A conical mesh | |
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 | |
A cuboid mesh | |
A cuboid mesh | |
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 | |
A cylindrical mesh | |
A cylindrical mesh | |
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 | |
A square planar mesh | |
A square planar mesh | |
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 | |
A spherical mesh | |
A spherical mesh | |
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 | |
A toroidal mesh | |
A toroidal mesh |
Camera Controllers
Allows controlling the scene camera from the first person perspective | |
Allows controlling the scene camera along orbital path |
Entities
FrameGraphs
Window
- Qt3DExtras::Qt3DWindow
Note: The Quick3DExtras module also specifies a Qt3DExtras::Quick::Qt3DQuickWindow.
Reference
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.