class QCuboidMesh#

A cuboid mesh. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QCuboidMesh

Synopsis#

Properties#

Methods#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property xExtentᅟ: float#

Holds the x extent of the mesh.

Access functions:
property xyMeshResolutionᅟ: QSize#

Holds the x-y resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

Access functions:
property xzMeshResolutionᅟ: QSize#

Holds the x-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

Access functions:
property yExtentᅟ: float#

Holds the y extent of the mesh.

Access functions:
property yzMeshResolutionᅟ: QSize#

Holds the y-z resolution of the mesh. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

Access functions:
property zExtentᅟ: float#

Holds the z extent of the mesh.

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

Constructs a new QCuboidMesh with parent.

setXExtent(xExtent)#
Parameters:

xExtent – float

See also

xExtent()

Setter of property xExtentᅟ .

setXYMeshResolution(resolution)#
Parameters:

resolutionQSize

Setter of property xyMeshResolutionᅟ .

setXZMeshResolution(resolution)#
Parameters:

resolutionQSize

Setter of property xzMeshResolutionᅟ .

setYExtent(yExtent)#
Parameters:

yExtent – float

See also

yExtent()

Setter of property yExtentᅟ .

setYZMeshResolution(resolution)#
Parameters:

resolutionQSize

Setter of property yzMeshResolutionᅟ .

setZExtent(zExtent)#
Parameters:

zExtent – float

See also

zExtent()

Setter of property zExtentᅟ .

xExtent()#
Return type:

float

See also

setXExtent()

Getter of property xExtentᅟ .

xExtentChanged(xExtent)#
Parameters:

xExtent – float

Notification signal of property xExtentᅟ .

xyMeshResolution()#
Return type:

QSize

Getter of property xyMeshResolutionᅟ .

xyMeshResolutionChanged(xyMeshResolution)#
Parameters:

xyMeshResolutionQSize

Notification signal of property xyMeshResolutionᅟ .

xzMeshResolution()#
Return type:

QSize

Getter of property xzMeshResolutionᅟ .

xzMeshResolutionChanged(xzMeshResolution)#
Parameters:

xzMeshResolutionQSize

Notification signal of property xzMeshResolutionᅟ .

yExtent()#
Return type:

float

See also

setYExtent()

Getter of property yExtentᅟ .

yExtentChanged(yExtent)#
Parameters:

yExtent – float

Notification signal of property yExtentᅟ .

yzMeshResolution()#
Return type:

QSize

Getter of property yzMeshResolutionᅟ .

yzMeshResolutionChanged(yzMeshResolution)#
Parameters:

yzMeshResolutionQSize

Notification signal of property yzMeshResolutionᅟ .

zExtent()#
Return type:

float

See also

setZExtent()

Getter of property zExtentᅟ .

zExtentChanged(zExtent)#
Parameters:

zExtent – float

Notification signal of property zExtentᅟ .