Provides geometry for a cuboid. More...
| Import Statement: | import QtQuick3D.Helpers
|
| Since: | Qt 6.9 |
| Inherits: |
CuboidGeometry is a geometry type that represents a cuboid. The cuboid's size is defined by its xExtent, yExtent, and zExtent properties. The topology of the plane is defined by the yzMeshResolution, xzMeshResolution, and xyMeshResolution properties.
asynchronous : bool
This property holds whether the geometry generation should be asynchronous.
status : bool [read-only]
This property holds the status of the geometry generation when asynchronous is true.
| Constant | Description |
|---|---|
CuboidGeometry.Null |
The geometry generation has not started |
CuboidGeometry.Ready |
The geometry generation is complete. |
CuboidGeometry.Loading |
The geometry generation is in progress. |
CuboidGeometry.Error |
The geometry generation failed. |
xExtent : real
The x extent of the cuboid. The default value is 100.0.
xyMeshResolution : size
The number of segments in the x and y direction. The default value is 2x2.
xzMeshResolution : size
The number of segments in the x and z direction. The default value is 2x2.
yExtent : real
The y extent of the cuboid. The default value is 100.0.
yzMeshResolution : size
The number of segments in the y and z direction. The default value is 2x2.
zExtent : real
The z extent of the cuboid. The default value is 100.0.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-qtquick3d-helpers-cuboidgeometry.html