QCylinderMesh#
A cylindrical mesh. More…
Synopsis#
Properties#
Functions#
Slots#
Signals#
def
lengthChanged
(length)def
radiusChanged
(radius)def
ringsChanged
(rings)def
slicesChanged
(slices)
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#
This component can be used to render a cylinder when combined with a material component.
- class PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QCylinderMesh
with parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.length: float#
Holds the length of the cylinder.
- Access functions:
length
()setLength
(length)Signal
lengthChanged
(length)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.radius: float#
Holds the radius of the cylinder.
- Access functions:
radius
()setRadius
(radius)Signal
radiusChanged
(radius)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.rings: int#
Holds the number of rings in the mesh.
- Access functions:
rings
()setRings
(rings)Signal
ringsChanged
(rings)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.slices: int#
Holds the number of slices in the mesh.
- Access functions:
slices
()setSlices
(slices)Signal
slicesChanged
(slices)
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.length()#
- Return type:
float
See also
Getter of property length
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.lengthChanged(length)#
- Parameters:
length – float
Notification signal of property length
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.radius()#
- Return type:
float
See also
Getter of property radius
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.radiusChanged(radius)#
- Parameters:
radius – float
Notification signal of property radius
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.rings()#
- Return type:
int
See also
Getter of property rings
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.ringsChanged(rings)#
- Parameters:
rings – int
Notification signal of property rings
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.setLength(length)#
- Parameters:
length – float
See also
Setter of property length
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.setRadius(radius)#
- Parameters:
radius – float
See also
Setter of property radius
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.setRings(rings)#
- Parameters:
rings – int
See also
Setter of property rings
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.setSlices(slices)#
- Parameters:
slices – int
See also
Setter of property slices
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.slices()#
- Return type:
int
See also
Getter of property slices
.
- PySide6.Qt3DExtras.Qt3DExtras.QCylinderMesh.slicesChanged(slices)#
- Parameters:
slices – int
Notification signal of property slices
.