QCuboidGeometry Class▲
- 
					Header: Qt3DExtras/QCuboidGeometry 
- 
					CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) 
- 
					qmake: QT += 3dextras 
- 
					Inherited By: 
- 
					Instantiated By: qml-qt3d-extras-cuboidgeometry.xml 
- 
					Inherits: Qt3DCore::QGeometry 
- 
					Group: QCuboidGeometry is part of qt3d-extras-geometries, geometries 
Detailed Description▲
The QCuboidGeometry class is most commonly used internally by the QCuboidMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.
Property Documentation▲
[read-only] indexAttribute : Qt3DCore::QAttribute* const▲
Holds the geometry index attribute.
Access functions:
- 
							*indexAttribute() const 
[read-only] normalAttribute : Qt3DCore::QAttribute* const▲
Holds the geometry normal attribute.
Access functions:
- 
							*normalAttribute() const 
[read-only] positionAttribute : Qt3DCore::QAttribute* const▲
Holds the geometry position attribute.
Access functions:
- 
							*positionAttribute() const 
[read-only] tangentAttribute : Qt3DCore::QAttribute* const▲
Holds the geometry tangent attribute.
Access functions:
- 
							*tangentAttribute() const 
[read-only] texCoordAttribute : Qt3DCore::QAttribute* const▲
Holds the geometry texture coordinate attribute.
Access functions:
- 
							*texCoordAttribute() const 
xExtent : float▲
Holds the x extent of the geometry.
Access functions:
- 
							float xExtent() const 
- 
							void setXExtent(float xExtent) 
Notifier signal:
- 
							void xExtentChanged(float xExtent) 
xyMeshResolution : QSize▲
Holds the x-y resolution. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.
Access functions:
- 
							xyMeshResolution() const 
- 
							void setXYMeshResolution(const &resolution) 
Notifier signal:
- 
							void xyMeshResolutionChanged(const &xyMeshResolution) 
xzMeshResolution : QSize▲
Holds the x-z resolution. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.
Access functions:
- 
							xzMeshResolution() const 
- 
							void setXZMeshResolution(const &resolution) 
Notifier signal:
- 
							void xzMeshResolutionChanged(const &xzMeshResolution) 
yExtent : float▲
Holds the y extent of the geometry.
Access functions:
- 
							float yExtent() const 
- 
							void setYExtent(float yExtent) 
Notifier signal:
- 
							void yExtentChanged(float yExtent) 
yzMeshResolution : QSize▲
Holds the y-z resolution. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.
Access functions:
- 
							yzMeshResolution() const 
- 
							void setYZMeshResolution(const &resolution) 
Notifier signal:
- 
							void yzMeshResolutionChanged(const &yzMeshResolution) 
zExtent : float▲
Holds the z extent of the geometry.
Access functions:
- 
							float zExtent() const 
- 
							void setZExtent(float zExtent) 
Notifier signal:
- 
							void zExtentChanged(float zExtent) 
Member Function Documentation▲
[explicit] QCuboidGeometry::QCuboidGeometry(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QCuboidGeometry with parent.
void QCuboidGeometry::updateIndices()▲
Updates indices based on mesh resolutions.
void QCuboidGeometry::updateVertices()▲
Updates vertices based on mesh resolutions.




