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 QGeometryRenderer subclasses. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry

Synopsis

Functions

Detailed Description

* * * *

class PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QCuboidGeometry with parent.

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.indexAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.normalAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.positionAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXExtent(xExtent)
Parameters

xExtent – float

See also

xExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXYMeshResolution(resolution)
Parameters

resolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXZMeshResolution(resolution)
Parameters

resolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setYExtent(yExtent)
Parameters

yExtent – float

See also

yExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setYZMeshResolution(resolution)
Parameters

resolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setZExtent(zExtent)
Parameters

zExtent – float

See also

zExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.tangentAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.texCoordAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.updateIndices()

Updates indices based on mesh resolutions.

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.updateVertices()

Updates vertices based on mesh resolutions.

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xExtent()
Return type

float

See also

setXExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xExtentChanged(xExtent)
Parameters

xExtent – float

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xyMeshResolution()
Return type

PySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xyMeshResolutionChanged(xyMeshResolution)
Parameters

xyMeshResolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xzMeshResolution()
Return type

PySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xzMeshResolutionChanged(xzMeshResolution)
Parameters

xzMeshResolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yExtent()
Return type

float

See also

setYExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yExtentChanged(yExtent)
Parameters

yExtent – float

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yzMeshResolution()
Return type

PySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yzMeshResolutionChanged(yzMeshResolution)
Parameters

yzMeshResolutionPySide6.QtCore.QSize

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.zExtent()
Return type

float

See also

setZExtent()

PySide6.Qt3DExtras.Qt3DExtras.QCuboidGeometry.zExtentChanged(zExtent)
Parameters

zExtent – float